blob: 949fd839f4c082b5928ac5464594b1adb7fb8a6d [file] [log] [blame]
common:
filter: not (CONFIG_NATIVE_BUILD and CONFIG_EXTERNAL_LIBC)
# FIXME: qemu_leon3 is excluded because of the alignment-related failure
# reported in the GitHub issue zephyrproject-rtos/zephyr#48992.
platform_exclude: qemu_leon3
tags: posix
min_ram: 64
timeout: 240
tests:
portability.posix.common:
platform_exclude:
- nsim_sem_mpu_stack_guard
- intel_ehl_crb
extra_configs:
- CONFIG_NEWLIB_LIBC=n
integration_platforms:
- qemu_x86
portability.posix.common.newlib:
platform_exclude:
- nsim_sem_mpu_stack_guard
- intel_ehl_crb
- lpcxpresso55s06
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_NEWLIB_LIBC=y
integration_platforms:
- qemu_x86
portability.posix.common.armclang_std_libc:
toolchain_allow: armclang
extra_configs:
- CONFIG_ARMCLANG_STD_LIBC=y
portability.posix.common.arcmwdtlib:
toolchain_allow: arcmwdt
extra_configs:
- CONFIG_ARCMWDT_LIBC=y
portability.posix.common.tls:
platform_exclude:
- nsim_sem_mpu_stack_guard
- intel_ehl_crb
filter: CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
extra_configs:
- CONFIG_NEWLIB_LIBC=n
- CONFIG_THREAD_LOCAL_STORAGE=y
integration_platforms:
- qemu_x86
portability.posix.common.tls.newlib:
platform_exclude:
- nsim_sem_mpu_stack_guard
- intel_ehl_crb
- lpcxpresso55s06
filter: TOOLCHAIN_HAS_NEWLIB == 1 and CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and
CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
integration_platforms:
- qemu_x86
extra_configs:
- CONFIG_NEWLIB_LIBC=y
- CONFIG_THREAD_LOCAL_STORAGE=y
portability.posix.common.nsim:
platform_allow: nsim_sem_mpu_stack_guard
extra_configs:
- CONFIG_NEWLIB_LIBC=n
- CONFIG_TEST_HW_STACK_PROTECTION=n
portability.posix.common.newlib.nsim:
platform_allow: nsim_sem_mpu_stack_guard
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_NEWLIB_LIBC=y
- CONFIG_TEST_HW_STACK_PROTECTION=n
portability.posix.common.picolibc:
tags: picolibc
filter: CONFIG_PICOLIBC_SUPPORTED
integration_platforms:
- qemu_x86
extra_configs:
- CONFIG_PICOLIBC=y
portability.posix.common.no_spin_validate:
extra_configs:
- CONFIG_SPIN_VALIDATE=n
integration_platforms:
- mps2_an385
portability.posix.common.signal.strsignal_no_desc:
extra_configs:
- CONFIG_POSIX_SIGNAL_STRING_DESC=n
portability.posix.common.signal.big_nsig:
extra_configs:
- CONFIG_POSIX_RTSIG_MAX=1024
portability.posix.common.dynamic_stack:
integration_platforms:
- qemu_x86
- qemu_riscv64
extra_configs:
- CONFIG_DYNAMIC_THREAD=y
- CONFIG_THREAD_STACK_INFO=y
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=5
- CONFIG_HEAP_MEM_POOL_SIZE=16384