Skip to content

Commit 6622c48

Browse files
committed
[nrf fromtree] tests: drivers: watchodg: Enable wdt_error_cases on nRF5340dk
Enable wdt_error_cases test on nRF5340dk. Define valid test configuration for that target (reuse from nRF54H/nRF54L). Add target to the platform_allow. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit c4a8179)
1 parent ea083f1 commit 6622c48

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/drivers/watchdog/wdt_error_cases/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
#define DEFAULT_WINDOW_MIN (0U)
4343

4444
/* Align tests to the specific target: */
45-
#if defined(CONFIG_SOC_SERIES_NRF54LX) || defined(CONFIG_SOC_NRF54H20) || \
46-
defined(CONFIG_SOC_NRF9280)
45+
#if defined(CONFIG_SOC_SERIES_NRF53X) || defined(CONFIG_SOC_SERIES_NRF54LX) || \
46+
defined(CONFIG_SOC_NRF54H20) || defined(CONFIG_SOC_NRF9280)
4747
#define WDT_TEST_FLAGS \
4848
(WDT_DISABLE_SUPPORTED | WDT_FLAG_RESET_SOC_SUPPORTED | \
4949
WDT_FLAG_ONLY_ONE_TIMEOUT_VALUE_SUPPORTED | WDT_OPT_PAUSE_IN_SLEEP_SUPPORTED | \

tests/drivers/watchdog/wdt_error_cases/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ common:
88
tests:
99
drivers.watchdog.wdt_error_cases:
1010
platform_allow:
11+
- nrf5340dk/nrf5340/cpuapp
1112
- nrf54l09pdk/nrf54l09/cpuapp
1213
- nrf54l15dk/nrf54l15/cpuapp
1314
- nrf54l20pdk/nrf54l20/cpuapp

0 commit comments

Comments
 (0)