tests/kernel: Also run tests using minimallibc
With picolibc being the default C library, we need to explicitly include testing against the minimal C library for kernel components. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
f0daf904bb
commit
844c78cf3a
15 changed files with 149 additions and 0 deletions
12
tests/kernel/cache/testcase.yaml
vendored
12
tests/kernel/cache/testcase.yaml
vendored
|
@ -8,3 +8,15 @@ tests:
|
||||||
- qemu_xtensa
|
- qemu_xtensa
|
||||||
- qemu_cortex_a53
|
- qemu_cortex_a53
|
||||||
- nsim_em
|
- nsim_em
|
||||||
|
kernel.cache.api.minimallibc:
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- cache
|
||||||
|
- libc
|
||||||
|
filter: CONFIG_CACHE_MANAGEMENT and CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
integration_platforms:
|
||||||
|
- qemu_xtensa
|
||||||
|
- qemu_cortex_a53
|
||||||
|
- nsim_em
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -4,6 +4,13 @@ tests:
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_TEST_EXTRA_STACK_SIZE=1024
|
- CONFIG_TEST_EXTRA_STACK_SIZE=1024
|
||||||
min_ram: 16
|
min_ram: 16
|
||||||
|
kernel.context.minimallibc:
|
||||||
|
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
tags: kernel libc
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_TEST_EXTRA_STACK_SIZE=1024
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
min_ram: 16
|
||||||
linker.linker_generator:
|
linker.linker_generator:
|
||||||
platform_allow: qemu_cortex_m3
|
platform_allow: qemu_cortex_m3
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -9,6 +9,14 @@ tests:
|
||||||
tags:
|
tags:
|
||||||
- kernel
|
- kernel
|
||||||
- device
|
- device
|
||||||
|
kernel.device.minimallibc:
|
||||||
|
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- device
|
||||||
|
- libc
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
kernel.device.pm:
|
kernel.device.pm:
|
||||||
tags:
|
tags:
|
||||||
- kernel
|
- kernel
|
||||||
|
|
|
@ -3,3 +3,11 @@ tests:
|
||||||
tags:
|
tags:
|
||||||
- kernel
|
- kernel
|
||||||
- sleep
|
- sleep
|
||||||
|
kernel.common.sleep.minimallibc:
|
||||||
|
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- sleep
|
||||||
|
- libc
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -15,3 +15,24 @@ tests:
|
||||||
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
|
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_QEMU_ICOUNT=y
|
- CONFIG_QEMU_ICOUNT=y
|
||||||
|
arch.interrupt.minimallibc:
|
||||||
|
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
# nios2 excluded, see #22956
|
||||||
|
arch_exclude: nios2
|
||||||
|
platform_exclude: qemu_cortex_m0
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- interrupt
|
||||||
|
- libc
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
arch.interrupt.qemu_cortex_m0.minimallibc:
|
||||||
|
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
platform_allow: qemu_cortex_m0
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- interrupt
|
||||||
|
- libc
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_QEMU_ICOUNT=y
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -6,3 +6,13 @@ tests:
|
||||||
filter: CONFIG_MP_MAX_NUM_CPUS > 1
|
filter: CONFIG_MP_MAX_NUM_CPUS > 1
|
||||||
depends_on:
|
depends_on:
|
||||||
- smp
|
- smp
|
||||||
|
kernel.multiprocessing.minimallibc:
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- smp
|
||||||
|
- libc
|
||||||
|
filter: CONFIG_MP_MAX_NUM_CPUS > 1 and CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
depends_on:
|
||||||
|
- smp
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -2,3 +2,9 @@ tests:
|
||||||
kernel.objects.tracking:
|
kernel.objects.tracking:
|
||||||
tags: kernel
|
tags: kernel
|
||||||
platform_exclude: qemu_x86_tiny
|
platform_exclude: qemu_x86_tiny
|
||||||
|
kernel.objects.tracking.minimallibc:
|
||||||
|
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
tags: kernel libc
|
||||||
|
platform_exclude: qemu_x86_tiny
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.objects:
|
kernel.objects:
|
||||||
tags: kernel
|
tags: kernel
|
||||||
|
kernel.objects.minimallibc:
|
||||||
|
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
tags: kernel libc
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -8,3 +8,16 @@ tests:
|
||||||
platform_exclude:
|
platform_exclude:
|
||||||
- nrf52dk_nrf52810
|
- nrf52dk_nrf52810
|
||||||
- qemu_arc_hs6x
|
- qemu_arc_hs6x
|
||||||
|
kernel.poll.minimallibc:
|
||||||
|
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
ignore_faults: true
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- userspace
|
||||||
|
- libc
|
||||||
|
# FIXME: qemu_arc_hs6x is excluded due to a run-time failure, see #49492
|
||||||
|
platform_exclude:
|
||||||
|
- nrf52dk_nrf52810
|
||||||
|
- qemu_arc_hs6x
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -4,3 +4,12 @@ tests:
|
||||||
- kernel
|
- kernel
|
||||||
- userspace
|
- userspace
|
||||||
ignore_faults: true
|
ignore_faults: true
|
||||||
|
kernel.queue.minimallibc:
|
||||||
|
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- userspace
|
||||||
|
- libc
|
||||||
|
ignore_faults: true
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -3,3 +3,11 @@ tests:
|
||||||
tags:
|
tags:
|
||||||
- kernel
|
- kernel
|
||||||
- sleep
|
- sleep
|
||||||
|
kernel.common.timing.minimallibc:
|
||||||
|
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- sleep
|
||||||
|
- libc
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -5,3 +5,12 @@ tests:
|
||||||
- smp
|
- smp
|
||||||
ignore_faults: true
|
ignore_faults: true
|
||||||
filter: (CONFIG_MP_MAX_NUM_CPUS > 1)
|
filter: (CONFIG_MP_MAX_NUM_CPUS > 1)
|
||||||
|
kernel.multiprocessing.smp.minimallibc:
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- smp
|
||||||
|
- libc
|
||||||
|
ignore_faults: true
|
||||||
|
filter: (CONFIG_MP_MAX_NUM_CPUS > 1) and CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -6,3 +6,14 @@ tests:
|
||||||
platform_allow: intel_adsp_cavs25
|
platform_allow: intel_adsp_cavs25
|
||||||
integration_platforms:
|
integration_platforms:
|
||||||
- intel_adsp_cavs25
|
- intel_adsp_cavs25
|
||||||
|
kernel.multiprocessing.smp_boot_delay.minimallibc:
|
||||||
|
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- smp
|
||||||
|
- libc
|
||||||
|
platform_allow: intel_adsp_cavs25
|
||||||
|
integration_platforms:
|
||||||
|
- intel_adsp_cavs25
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -7,3 +7,15 @@ tests:
|
||||||
filter: CONFIG_SMP and CONFIG_MP_MAX_NUM_CPUS > 1 and CONFIG_MP_MAX_NUM_CPUS <= 4
|
filter: CONFIG_SMP and CONFIG_MP_MAX_NUM_CPUS > 1 and CONFIG_MP_MAX_NUM_CPUS <= 4
|
||||||
depends_on:
|
depends_on:
|
||||||
- smp
|
- smp
|
||||||
|
kernel.multiprocessing.spinlock.minimallibc:
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- smp
|
||||||
|
- spinlock
|
||||||
|
- libc
|
||||||
|
filter: CONFIG_SMP and CONFIG_MP_MAX_NUM_CPUS > 1 and CONFIG_MP_MAX_NUM_CPUS <= 4 and
|
||||||
|
CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
depends_on:
|
||||||
|
- smp
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
|
@ -7,3 +7,13 @@ tests:
|
||||||
integration_platforms:
|
integration_platforms:
|
||||||
- qemu_arc_em
|
- qemu_arc_em
|
||||||
- qemu_x86_xip
|
- qemu_x86_xip
|
||||||
|
arch.common.xip.minimallibc:
|
||||||
|
filter: CONFIG_XIP and CONFIG_MINIMAL_LIBC_SUPPORTED
|
||||||
|
tags:
|
||||||
|
- kernel
|
||||||
|
- xip
|
||||||
|
integration_platforms:
|
||||||
|
- qemu_arc_em
|
||||||
|
- qemu_x86_xip
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MINIMAL_LIBC=y
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue