1common:
2  filter: not CONFIG_NATIVE_LIBC
3  platform_exclude:
4    - native_posix
5    - native_posix_64
6  tags: posix
7  min_ram: 64
8  timeout: 240
9tests:
10  portability.posix.common:
11    platform_exclude:
12      - nsim_sem_mpu_stack_guard
13      - intel_ehl_crb
14    extra_configs:
15      - CONFIG_NEWLIB_LIBC=n
16    integration_platforms:
17      - qemu_x86
18  portability.posix.common.newlib:
19    platform_exclude:
20      - nsim_sem_mpu_stack_guard
21      - intel_ehl_crb
22      - lpcxpresso55s06
23    filter: TOOLCHAIN_HAS_NEWLIB == 1
24    extra_configs:
25      - CONFIG_NEWLIB_LIBC=y
26    arch_exclude:
27      - posix
28    integration_platforms:
29      - qemu_x86
30  portability.posix.common.armclang_std_libc:
31    toolchain_allow: armclang
32    extra_configs:
33      - CONFIG_ARMCLANG_STD_LIBC=y
34  portability.posix.common.arcmwdtlib:
35    toolchain_allow: arcmwdt
36    extra_configs:
37      - CONFIG_ARCMWDT_LIBC=y
38  portability.posix.common.tls:
39    platform_exclude:
40      - nsim_sem_mpu_stack_guard
41      - intel_ehl_crb
42    filter: CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
43    extra_configs:
44      - CONFIG_NEWLIB_LIBC=n
45      - CONFIG_THREAD_LOCAL_STORAGE=y
46    integration_platforms:
47      - qemu_x86
48  portability.posix.common.tls.newlib:
49    platform_exclude:
50      - nsim_sem_mpu_stack_guard
51      - intel_ehl_crb
52      - lpcxpresso55s06
53    filter: TOOLCHAIN_HAS_NEWLIB == 1 and CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and
54      CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
55    arch_exclude:
56      - posix
57    integration_platforms:
58      - qemu_x86
59    extra_configs:
60      - CONFIG_NEWLIB_LIBC=y
61      - CONFIG_THREAD_LOCAL_STORAGE=y
62  portability.posix.common.nsim:
63    platform_allow: nsim_sem_mpu_stack_guard
64    extra_configs:
65      - CONFIG_NEWLIB_LIBC=n
66      - CONFIG_TEST_HW_STACK_PROTECTION=n
67  portability.posix.common.newlib.nsim:
68    platform_allow: nsim_sem_mpu_stack_guard
69    filter: TOOLCHAIN_HAS_NEWLIB == 1
70    extra_configs:
71      - CONFIG_NEWLIB_LIBC=y
72      - CONFIG_TEST_HW_STACK_PROTECTION=n
73  portability.posix.common.picolibc:
74    tags: picolibc
75    filter: CONFIG_PICOLIBC_SUPPORTED
76    integration_platforms:
77      - qemu_x86
78    extra_configs:
79      - CONFIG_PICOLIBC=y
80  portability.posix.common.no_spin_validate:
81    extra_configs:
82      - CONFIG_SPIN_VALIDATE=n
83    integration_platforms:
84      - mps2_an385
85  portability.posix.common.signal.strsignal_no_desc:
86    extra_configs:
87      - CONFIG_POSIX_SIGNAL_STRING_DESC=n
88  portability.posix.common.signal.big_nsig:
89    extra_configs:
90      - CONFIG_POSIX_RTSIG_MAX=1024
91  portability.posix.common.dynamic_stack:
92    integration_platforms:
93      - qemu_x86
94      - qemu_riscv64
95    extra_configs:
96      - CONFIG_DYNAMIC_THREAD=y
97      - CONFIG_THREAD_STACK_INFO=y
98      - CONFIG_HEAP_MEM_POOL_SIZE=16384
99  portability.posix.common.static_stack:
100    integration_platforms:
101      - qemu_x86
102      - qemu_riscv64
103    extra_configs:
104      - CONFIG_DYNAMIC_THREAD=n
105      - CONFIG_THREAD_STACK_INFO=n
106