Skip to content

Commit df4883a

Browse files
dcpleungnashif
authored andcommitted
tests: thread_error_case: fix incorrect userspace filtering
The filter here should be used to filter for capability: whether the platform configuration supports userspace. And if it does support userspace, we then enable CONFIG_TEST_USERSPACE (and thus CONFIG_USERSPACE) for testing. We should not be filtering for whether userspace is enabled, but should really be filtering for whether userspace is supported. Signed-off-by: Daniel Leung <[email protected]>
1 parent 98d0a2b commit df4883a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/kernel/threads/thread_error_case/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tests:
44
- kernel
55
- threads
66
- userspace
7-
filter: CONFIG_USERSPACE
7+
filter: CONFIG_ARCH_HAS_USERSPACE
88
ignore_faults: true
99
integration_platforms:
1010
- qemu_x86

0 commit comments

Comments
 (0)