From 55ad66a30c7576129a548c508c3ed61a4303fb8c Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Fri, 15 Nov 2024 12:41:36 -0800 Subject: [PATCH] tests: ztest/base: 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/ztest/base/testcase.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ztest/base/testcase.yaml b/tests/ztest/base/testcase.yaml index 2b6107cd204..eb88b48786f 100644 --- a/tests/ztest/base/testcase.yaml +++ b/tests/ztest/base/testcase.yaml @@ -16,7 +16,7 @@ tests: integration_platforms: - native_sim testing.ztest.base.verbose_0_userspace: - filter: CONFIG_USERSPACE + filter: CONFIG_ARCH_HAS_USERSPACE extra_args: CONF_FILE=prj_verbose_0.conf tags: - userspace