tests: add kernel tag to all benchmarks and samples

All those benchmarks are kernel related, so add the kernel tag to avoid
building them when non kernel changes are being submitted.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-06-01 08:05:21 -04:00
parent 432eefca05
commit db4a5f11ea
10 changed files with 27 additions and 13 deletions

View File

@ -3,6 +3,8 @@ sample:
MetaIRQ thread
name: MetaIRQ Dispatch
common:
tags:
- kernel
integration_platforms:
- mps2_an385
- qemu_x86
@ -18,5 +20,5 @@ common:
# sample is designed to demonstrate completely arbitrary CPU work.
tests:
sample.kernel.metairq_dispatch:
tags: introduction
filter: not CONFIG_ARCH_POSIX
arch_exclude:
- posix

View File

@ -2,7 +2,9 @@ sample:
name: Dining Philosophers
common:
extra_args: DEBUG_PRINTF=1
tags: introduction
tags:
- inroduction
- kernel
harness: console
integration_platforms:
- native_posix
@ -15,8 +17,7 @@ common:
- ".*THINKING.*"
- ".*EATING.*"
tests:
sample.kernel.philosopher:
tags: introduction
sample.kernel.philosopher: {}
sample.kernel.philosopher.same_prio:
extra_args: SAME_PRIO=1
sample.kernel.philosopher.static:

View File

@ -1,5 +1,7 @@
common:
tags: benchmark
tags:
- benchmark
- kernel
timeout: 420
tests:
benchmark.kernel.application:

View File

@ -3,5 +3,6 @@ tests:
tags:
- benchmark
- dlist
- kernel
integration_platforms:
- native_posix

View File

@ -3,5 +3,6 @@ tests:
tags:
- benchmark
- rbtree
- kernel
integration_platforms:
- native_posix

View File

@ -1,12 +1,14 @@
common:
tags:
- benchmark
- kernel
tests:
benchmark.kernel.footprints.default:
tags: benchmark
build_only: true
integration_platforms:
- mps2_an385
benchmark.kernel.footprints.pm:
tags:
- benchmark
- pm
build_only: true
extra_args: CONF_FILE=prj_pm.conf
@ -20,7 +22,6 @@ tests:
- arm
- arc
tags:
- benchmark
- userspace
build_only: true
integration_platforms:

View File

@ -1,3 +1,7 @@
common:
tags:
- kernel
- benchmark
tests:
benchmark.kernel.latency:
# FIXME: no DWT and no RTC_TIMER for qemu_cortex_m0
@ -5,7 +9,6 @@ tests:
- qemu_cortex_m0
- m2gl025_miv
filter: CONFIG_PRINTK and not CONFIG_SOC_FAMILY_STM32
tags: benchmark
harness: console
integration_platforms:
- qemu_x86
@ -24,7 +27,6 @@ tests:
benchmark.kernel.latency.stm32:
arch_allow: arm
filter: CONFIG_PRINTK and CONFIG_SOC_FAMILY_STM32
tags: benchmark
extra_configs:
- CONFIG_SYS_CLOCK_TICKS_PER_SEC=20
harness: console

View File

@ -1,6 +1,8 @@
tests:
benchmark.kernel.scheduler:
tags: benchmark
tags:
- benchmark
- kernel
integration_platforms:
- mps2_an385
- qemu_x86

View File

@ -2,6 +2,7 @@ tests:
benchmark.kernel.scheduler_userspace:
arch_allow: arm64
tags:
- kernel
- benchmark
- userspace
slow: true

View File

@ -1,8 +1,9 @@
tests:
benchmark.kernel.core:
tags:
- kernel
arch_exclude:
- nios2
- xtensa
min_ram: 32
tags: benchmark
timeout: 120