1common:
2  filter: not (CONFIG_NATIVE_BUILD and CONFIG_EXTERNAL_LIBC)
3  tags:
4    - posix
5    - net
6    - socket
7  min_ram: 32
8tests:
9  portability.posix.headers.with_posix_api:
10    extra_configs:
11      - CONFIG_POSIX_API=y
12    integration_platforms:
13      - qemu_x86
14  portability.posix.headers.without_posix_api:
15    extra_configs:
16      - CONFIG_POSIX_API=n
17    integration_platforms:
18      - qemu_x86
19  portability.posix.headers.picolibc.with_posix_api:
20    tags: picolibc
21    filter: CONFIG_PICOLIBC_SUPPORTED
22    extra_configs:
23      - CONFIG_POSIX_API=y
24      - CONFIG_PICOLIBC=y
25    integration_platforms:
26      - qemu_x86
27  portability.posix.headers.picolibc.without_posix_api:
28    tags: picolibc
29    filter: CONFIG_PICOLIBC_SUPPORTED
30    extra_configs:
31      - CONFIG_POSIX_API=n
32      - CONFIG_PICOLIBC=y
33    integration_platforms:
34      - qemu_x86
35  portability.posix.headers.newlib.with_posix_api:
36    tags: newlib
37    filter: TOOLCHAIN_HAS_NEWLIB == 1
38    extra_configs:
39      - CONFIG_POSIX_API=y
40      - CONFIG_NEWLIB_LIBC=y
41    integration_platforms:
42      - qemu_x86
43  portability.posix.headers.newlib.without_posix_api:
44    filter: TOOLCHAIN_HAS_NEWLIB == 1
45    extra_configs:
46      - CONFIG_POSIX_API=n
47      - CONFIG_NEWLIB_LIBC=y
48    integration_platforms:
49      - qemu_x86
50  portability.posix.headers.arcmwdtlib.with_posix_api:
51    toolchain_allow: arcmwdt
52    extra_configs:
53      - CONFIG_POSIX_API=y
54      - CONFIG_ARCMWDT_LIBC=y
55  portability.posix.headers.arcmwdtlib.without_posix_api:
56    toolchain_allow: arcmwdt
57    extra_configs:
58      - CONFIG_POSIX_API=n
59      - CONFIG_ARCMWDT_LIBC=y
60