tests: arch/timing: cleanup test configuraton

No need for two scenarios just to add a kconfig that works for all
platforms (smp and non-smp).

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-09-23 15:41:16 -04:00 committed by Fabio Baltieri
parent d2b196978f
commit 6a6a63d5fe
2 changed files with 5 additions and 5 deletions

View file

@ -2,3 +2,4 @@ CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_TIMING_FUNCTIONS=y
CONFIG_FPU=y
CONFIG_SCHED_CPU_MASK=y

View file

@ -1,9 +1,8 @@
common:
filter: CONFIG_ARCH_HAS_TIMING_FUNCTIONS
platform_type:
- mcu
- native
tests:
arch.common.timing:
filter: CONFIG_MP_NUM_CPUS == 1 and not CONFIG_QEMU_TARGET
arch.common.timing.smp:
filter: CONFIG_MP_NUM_CPUS > 1 and not CONFIG_QEMU_TARGET
extra_configs:
- CONFIG_SCHED_CPU_MASK=y
tags: timing arch