In SAM SoCs Watchdog is selected by default and runs with some default configuration, unless the build sets CONFIG_WDT_DISABLE_AT_BOOT. As the tests/kernel/critical takes relatively large amount of time to complete, the watchdog (that is never fed in the test) will eventually trigger a reset. As a result the test keeps restarting continuously and never completes. We want to run the test on SAM SoCs, so we do the following: - filter our the SAM SoCs with the SAM WDT from the default build - introduce an alternative test-case for these SoCs with the additional CONFIG_WDT_DISABLE_AT_BOOT option set. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
16 lines
409 B
YAML
16 lines
409 B
YAML
common:
|
|
tags: kernel
|
|
|
|
tests:
|
|
kernel.common:
|
|
platform_exclude: nsim_sem_mpu_stack_guard nsim_em_mpu_stack_guard
|
|
filter: not CONFIG_WDT_SAM
|
|
kernel.common.sam:
|
|
filter: CONFIG_WDT_SAM
|
|
extra_configs:
|
|
- CONFIG_WDT_DISABLE_AT_BOOT=y
|
|
kernel.common.nsim:
|
|
platform_whitelist: nsim_sem_mpu_stack_guard nsim_em_mpu_stack_guard
|
|
extra_configs:
|
|
- CONFIG_TEST_HW_STACK_PROTECTION=n
|