zephyr/tests/posix/headers/testcase.yaml
Alberto Escolar Piedras 4598d2b372 tests POSIX: Do not filter fully by POSIX arch but by type of build
Some POSIX arch targets support now the POSIX API.
Instead of filtering the architecture fully,
let's limit it to the type of build

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-07-05 07:01:19 -04:00

60 lines
1.6 KiB
YAML

common:
filter: not (CONFIG_NATIVE_BUILD and CONFIG_EXTERNAL_LIBC)
tags:
- posix
- net
- socket
min_ram: 32
tests:
portability.posix.headers.with_posix_api:
extra_configs:
- CONFIG_POSIX_API=y
integration_platforms:
- qemu_x86
portability.posix.headers.without_posix_api:
extra_configs:
- CONFIG_POSIX_API=n
integration_platforms:
- qemu_x86
portability.posix.headers.picolibc.with_posix_api:
tags: picolibc
filter: CONFIG_PICOLIBC_SUPPORTED
extra_configs:
- CONFIG_POSIX_API=y
- CONFIG_PICOLIBC=y
integration_platforms:
- qemu_x86
portability.posix.headers.picolibc.without_posix_api:
tags: picolibc
filter: CONFIG_PICOLIBC_SUPPORTED
extra_configs:
- CONFIG_POSIX_API=n
- CONFIG_PICOLIBC=y
integration_platforms:
- qemu_x86
portability.posix.headers.newlib.with_posix_api:
tags: newlib
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_POSIX_API=y
- CONFIG_NEWLIB_LIBC=y
integration_platforms:
- qemu_x86
portability.posix.headers.newlib.without_posix_api:
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_POSIX_API=n
- CONFIG_NEWLIB_LIBC=y
integration_platforms:
- qemu_x86
portability.posix.headers.arcmwdtlib.with_posix_api:
toolchain_allow: arcmwdt
extra_configs:
- CONFIG_POSIX_API=y
- CONFIG_ARCMWDT_LIBC=y
portability.posix.headers.arcmwdtlib.without_posix_api:
toolchain_allow: arcmwdt
extra_configs:
- CONFIG_POSIX_API=n
- CONFIG_ARCMWDT_LIBC=y