zephyr/tests/kernel/common/testcase.yaml
Keith Packard f79eaba7e6 tests/kernel: Run common tests using picolibc
This runs the existing kernel common tests using picolibc as some of those
depend on libc functionality.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-06-23 09:16:32 +02:00

35 lines
1.0 KiB
YAML

common:
tags: base userspace
min_flash: 33
tests:
kernel.common:
build_on_all: true
kernel.common.tls:
filter: CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE and CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
extra_configs:
- CONFIG_THREAD_LOCAL_STORAGE=y
kernel.common.misra:
# Some configurations are known-incompliant and won't build
filter: not ((CONFIG_I2C or CONFIG_SPI) and CONFIG_USERSPACE)
integration_platforms:
- native_posix
extra_configs:
- CONFIG_MISRA_SANE=y
kernel.common.nano32:
filter: not CONFIG_KERNEL_COHERENCE
extra_configs:
- CONFIG_CBPRINTF_NANO=y
- CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
platform_exclude: qemu_arc_hs6x
kernel.common.nano64:
filter: not CONFIG_KERNEL_COHERENCE
extra_configs:
- CONFIG_CBPRINTF_NANO=y
- CONFIG_CBPRINTF_FULL_INTEGRAL=y
kernel.common.picolibc:
filter: CONFIG_PICOLIBC_SUPPORTED
tags: picolibc
extra_configs:
- CONFIG_PICOLIBC=y
- CONFIG_PICOLIBC_ALIGNED_HEAP_SIZE=8192