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 <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2024-11-15 12:31:38 -08:00 committed by Anas Nashif
commit df4883ad23

View file

@ -4,7 +4,7 @@ tests:
- kernel
- threads
- userspace
filter: CONFIG_USERSPACE
filter: CONFIG_ARCH_HAS_USERSPACE
ignore_faults: true
integration_platforms:
- qemu_x86