1common:
2  integration_platforms:
3    - qemu_x86
4tests:
5  kernel.threads.tls:
6    tags:
7      - kernel
8      - threads
9    filter: CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
10  kernel.threads.tls.userspace:
11    tags:
12      - kernel
13      - threads
14      - userspace
15    filter: CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and CONFIG_ARCH_HAS_USERSPACE and
16      CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
17    arch_exclude:
18      - posix
19    platform_exclude:
20      - ucans32k1sic
21    # ARCMWDT can't handle THREAD_LOCAL_STORAGE with USERSPACE, see #52570 for details
22    toolchain_exclude: arcmwdt
23    extra_configs:
24      - CONFIG_TEST_USERSPACE=y
25