Skip to content

Commit 55ad66a

Browse files
dcpleungnashif
authored andcommitted
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 <[email protected]>
1 parent df4883a commit 55ad66a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ztest/base/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ tests:
1616
integration_platforms:
1717
- native_sim
1818
testing.ztest.base.verbose_0_userspace:
19-
filter: CONFIG_USERSPACE
19+
filter: CONFIG_ARCH_HAS_USERSPACE
2020
extra_args: CONF_FILE=prj_verbose_0.conf
2121
tags:
2222
- userspace

0 commit comments

Comments
 (0)