zephyr/samples/drivers/watchdog/sample.yaml
Erwan Gouriou 2179e068ea samples/driver: watchdog: wwdg sample should run with west
A different configuration is applied when running this test
using west or using twister.
Both will use the disco_l475_iot1 overlay, but the extra config
for clock bus tunning is applied only when using twister and
samples is failed when run with west.
Move this extra config from sample.yaml to board .conf file so
it is applied in both cases.

Fixes #32376

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-02-19 05:25:52 -06:00

31 lines
871 B
YAML

sample:
name: Watchdog Driver Sample
tests:
sample.drivers.watchdog:
tags: drivers
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Watchdog sample application"
- "Feeding watchdog..."
- "Waiting for reset..."
- "Watchdog sample application"
depends_on: watchdog
filter: not dt_compat_enabled("st,stm32-window-watchdog")
sample.drivers.watchdog.stm32wwdg:
tags: drivers
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Watchdog sample application"
- "Feeding watchdog..."
- "Waiting for reset..."
- "Watchdog sample application"
tags: drivers watchdog
filter: dt_compat_enabled("st,stm32-window-watchdog")
depends_on: watchdog