zephyr/tests/kernel/threads/tls/testcase.yaml
Alberto Escolar Piedras fb38b90481 tests kernel: Exclude posix arch for userspace tests
These tests cannot be run in this architecture as it does not
support userspace.
Today they are filtered by kconfig, which works but spends
time running cmake.
As native_posix is a default test platform it is better
to filter it alltogether by arch, which saves quite a lot
of time.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-10-24 09:05:29 +02:00

23 lines
646 B
YAML

common:
integration_platforms:
- qemu_x86
tests:
kernel.threads.tls:
tags:
- kernel
- threads
filter: CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
kernel.threads.tls.userspace:
tags:
- kernel
- threads
- userspace
filter: CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and CONFIG_ARCH_HAS_USERSPACE and
CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
arch_exclude:
- posix
# ARCMWDT can't handle THREAD_LOCAL_STORAGE with USERSPACE, see #52570 for details
toolchain_exclude: arcmwdt
extra_configs:
- CONFIG_TEST_USERSPACE=y