Skip to content

Commit 5b29fff

Browse files
nashifhenrikbrixandersen
authored andcommitted
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 <[email protected]>
1 parent a8b788d commit 5b29fff

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

tests/kernel/workq/critical/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2024 Intel Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
source "Kconfig.zephyr"
4+
5+
if WDT_SAM
6+
config WDT_DISABLE_AT_BOOT
7+
bool "Disable at boot"
8+
default y
9+
endif

tests/kernel/workq/critical/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
CONFIG_ZTEST=y
22
CONFIG_MP_MAX_NUM_CPUS=1
3+
CONFIG_TEST_HW_STACK_PROTECTION=n

tests/kernel/workq/critical/testcase.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,5 @@ common:
44
- workqueue
55
tests:
66
kernel.workqueue.critical:
7-
platform_exclude: nsim/nsim_sem/mpu_stack_guard
8-
filter: not CONFIG_WDT_SAM
97
integration_platforms:
108
- qemu_x86
11-
kernel.workqueue.critical.sam:
12-
filter: CONFIG_WDT_SAM
13-
extra_configs:
14-
- CONFIG_WDT_DISABLE_AT_BOOT=y
15-
integration_platforms:
16-
- sam_e70_xplained/same70q21
17-
kernel.workqueue.critical.nsim:
18-
platform_allow: nsim/nsim_sem/mpu_stack_guard
19-
extra_configs:
20-
- CONFIG_TEST_HW_STACK_PROTECTION=n

0 commit comments

Comments
 (0)