tests: workqueue: avoid filters
Use Kconfig to configure watchdog instead of using expensive filters. Also disable CONFIG_TEST_HW_STACK_PROTECTION for this test so we do not have to create special cases. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
a8b788d344
commit
5b29fff725
3 changed files with 10 additions and 12 deletions
9
tests/kernel/workq/critical/Kconfig
Normal file
9
tests/kernel/workq/critical/Kconfig
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# Copyright (c) 2024 Intel Corporation
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
source "Kconfig.zephyr"
|
||||||
|
|
||||||
|
if WDT_SAM
|
||||||
|
config WDT_DISABLE_AT_BOOT
|
||||||
|
bool "Disable at boot"
|
||||||
|
default y
|
||||||
|
endif
|
|
@ -1,2 +1,3 @@
|
||||||
CONFIG_ZTEST=y
|
CONFIG_ZTEST=y
|
||||||
CONFIG_MP_MAX_NUM_CPUS=1
|
CONFIG_MP_MAX_NUM_CPUS=1
|
||||||
|
CONFIG_TEST_HW_STACK_PROTECTION=n
|
||||||
|
|
|
@ -4,17 +4,5 @@ common:
|
||||||
- workqueue
|
- workqueue
|
||||||
tests:
|
tests:
|
||||||
kernel.workqueue.critical:
|
kernel.workqueue.critical:
|
||||||
platform_exclude: nsim/nsim_sem/mpu_stack_guard
|
|
||||||
filter: not CONFIG_WDT_SAM
|
|
||||||
integration_platforms:
|
integration_platforms:
|
||||||
- qemu_x86
|
- qemu_x86
|
||||||
kernel.workqueue.critical.sam:
|
|
||||||
filter: CONFIG_WDT_SAM
|
|
||||||
extra_configs:
|
|
||||||
- CONFIG_WDT_DISABLE_AT_BOOT=y
|
|
||||||
integration_platforms:
|
|
||||||
- sam_e70_xplained/same70q21
|
|
||||||
kernel.workqueue.critical.nsim:
|
|
||||||
platform_allow: nsim/nsim_sem/mpu_stack_guard
|
|
||||||
extra_configs:
|
|
||||||
- CONFIG_TEST_HW_STACK_PROTECTION=n
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue