tests: improve filtering and use integration_platforms

Use integration platforms to limit scope in CI.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-05-20 11:48:32 +00:00
commit c5d798173c
11 changed files with 35 additions and 4 deletions

View file

@ -4,6 +4,8 @@ common:
tags:
- interrupt
- nmi
integration_platforms:
- qemu_x86_64
tests:
arch.interrupt.nmi:
extra_configs:

View file

@ -4,3 +4,7 @@ tests:
- kernel
- cache
filter: CONFIG_CACHE_MANAGEMENT
integration_platforms:
- qemu_xtensa
- qemu_cortex_a53
- nsim_em

View file

@ -46,12 +46,18 @@ tests:
- CONFIG_ARC_FIRQ_STACK=y
- CONFIG_TEST_HW_STACK_PROTECTION=n
arch.interrupt.gen_isr_table.riscv_direct:
arch_allow:
- riscv32
- riscv64
platform_exclude: m2gl025_miv
filter: CONFIG_RISCV and CONFIG_SOC_FAMILY_RISCV_PRIVILEGE
filter: CONFIG_SOC_FAMILY_RISCV_PRIVILEGE
extra_configs:
- CONFIG_GEN_IRQ_VECTOR_TABLE=y
arch.interrupt.gen_isr_table.riscv_no_direct:
platform_exclude: m2gl025_miv
filter: CONFIG_RISCV and CONFIG_SOC_FAMILY_RISCV_PRIVILEGE
arch_allow:
- riscv32
- riscv64
filter: CONFIG_SOC_FAMILY_RISCV_PRIVILEGE
extra_configs:
- CONFIG_GEN_IRQ_VECTOR_TABLE=n

View file

@ -6,7 +6,7 @@ tests:
- kernel
- mmu
- demand_paging
filter: CONFIG_DEMAND_PAGING
platform_allow: qemu_x86_tiny
extra_configs:
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
kernel.demand_paging.timing_funcs:
@ -15,7 +15,6 @@ tests:
- mmu
- demand_paging
platform_allow: qemu_x86_tiny
filter: CONFIG_DEMAND_PAGING
extra_configs:
- CONFIG_DEMAND_PAGING_STATS_USING_TIMING_FUNCTIONS=y
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0

View file

@ -6,3 +6,5 @@ tests:
- userspace
ignore_faults: true
filter: CONFIG_ARCH_HAS_USERSPACE
integration_platforms:
- qemu_x86

View file

@ -6,3 +6,5 @@ tests:
- userspace
filter: CONFIG_USERSPACE
ignore_faults: true
integration_platforms:
- qemu_x86

View file

@ -6,6 +6,9 @@ tests:
- userspace
ignore_faults: true
min_ram: 16
integration_platforms:
- mps2_an521
- qemu_x86
kernel.threads.armv8m_mpu_stack_guard:
min_ram: 16
extra_args: CONF_FILE=prj_armv8m_mpu_stack_guard.conf
@ -16,3 +19,5 @@ tests:
- security
- userspace
ignore_faults: true
integration_platforms:
- mps2_an521

View file

@ -1,3 +1,6 @@
common:
integration_platforms:
- qemu_x86
tests:
kernel.threads.tls:
tags:

View file

@ -5,3 +5,5 @@ tests:
tags:
- kernel
- timer
integration_platforms:
- qemu_x86

View file

@ -13,3 +13,6 @@ tests:
- mips
# SMP is excluded as the test was only written for UP
filter: not CONFIG_SMP
integration_platforms:
- qemu_x86
- mps2_an385

View file

@ -4,6 +4,9 @@ tests:
tags:
- kernel
- xip
integration_platforms:
- qemu_arc_em
- qemu_x86_xip
arch.common.xip.linker_generator:
platform_allow: qemu_cortex_m3
tags: linker_generator