From df4883ad23df2eb3da0ffd68f91b3d6de051ea36 Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Fri, 15 Nov 2024 12:31:38 -0800 Subject: [PATCH] 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 --- tests/kernel/threads/thread_error_case/testcase.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kernel/threads/thread_error_case/testcase.yaml b/tests/kernel/threads/thread_error_case/testcase.yaml index 69106b0f611..171bc8b3b6e 100644 --- a/tests/kernel/threads/thread_error_case/testcase.yaml +++ b/tests/kernel/threads/thread_error_case/testcase.yaml @@ -4,7 +4,7 @@ tests: - kernel - threads - userspace - filter: CONFIG_USERSPACE + filter: CONFIG_ARCH_HAS_USERSPACE ignore_faults: true integration_platforms: - qemu_x86