Skip to content

Commit ed79b1f

Browse files
nashifcarlescufi
authored andcommitted
tests: use namespacing in extra_configs and drop duplicated scenarios
Use namespacing with extra_configs in some tests and remove duplicated scenarios the were made arch or platform specifc. Signed-off-by: Anas Nashif <[email protected]>
1 parent ec3dc8c commit ed79b1f

File tree

3 files changed

+10
-31
lines changed

3 files changed

+10
-31
lines changed

tests/benchmarks/app_kernel/testcase.yaml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,13 @@ tests:
55
benchmark.kernel.application:
66
arch_allow: x86 arm riscv32 riscv64
77
min_flash: 34
8-
min_ram: 32
9-
benchmark.kernel.application.fp.arm:
10-
extra_args: CONF_FILE=prj_fp.conf
11-
arch_allow: arm
12-
filter: CONFIG_ARMV7_M_ARMV8_M_FP
13-
min_flash: 34
14-
min_ram: 32
15-
slow: true
16-
benchmark.kernel.application.fp.x86.fpu:
8+
benchmark.kernel.application.fp:
179
extra_args: CONF_FILE=prj_fp.conf
1810
extra_configs:
19-
- CONFIG_X86_SSE=y
20-
- CONFIG_X86_SSE_FP_MATH=n
21-
arch_allow: x86
22-
filter: CONFIG_CPU_HAS_FPU
11+
- arch:x86:CONFIG_X86_SSE=y
12+
- arch:x86:CONFIG_X86_SSE_FP_MATH=n
13+
arch_allow: x86 arm
14+
filter: CONFIG_CPU_HAS_FPU or CONFIG_ARMV7_M_ARMV8_M_FP
2315
min_flash: 34
2416
min_ram: 32
2517
slow: true

tests/crypto/mbedtls/testcase.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ common:
55
timeout: 400
66
tests:
77
crypto.mbedtls:
8-
arch_exclude: riscv64
98
platform_exclude: m2gl025_miv
109
extra_configs:
1110
- CONFIG_PICOLIBC_HEAP_SIZE=0
12-
crypto.mbedtls.riscv64:
13-
arch_allow: riscv64
14-
extra_configs:
15-
- CONFIG_ZTEST_STACK_SIZE=8192
11+
- arch:riscv64:CONFIG_ZTEST_STACK_SIZE=8192

tests/kernel/fpu_sharing/float_disable/testcase.yaml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
common:
22
tags: fpu kernel userspace
33
tests:
4-
kernel.fpu_sharing.float_disable.arm:
5-
arch_allow: arm
6-
filter: CONFIG_ARMV7_M_ARMV8_M_FP or CONFIG_ARMV7_R_FP
4+
kernel.fpu_sharing.float_disable:
5+
arch_allow: arm riscv32 riscv64 sparc
6+
filter: CONFIG_ARMV7_M_ARMV8_M_FP or CONFIG_ARMV7_R_FP or CONFIG_CPU_HAS_FPU
77
extra_configs:
8-
- CONFIG_DYNAMIC_INTERRUPTS=y
9-
kernel.fpu_sharing.float_disable.riscv32:
10-
filter: CONFIG_CPU_HAS_FPU
11-
arch_allow: riscv32
12-
kernel.fpu_sharing.float_disable.riscv64:
13-
filter: CONFIG_CPU_HAS_FPU
14-
arch_allow: riscv64
15-
kernel.fpu_sharing.float_disable.sparc:
16-
filter: CONFIG_CPU_HAS_FPU
17-
arch_allow: sparc
8+
- arch:arm:CONFIG_DYNAMIC_INTERRUPTS=y
189
kernel.fpu_sharing.float_disable.x86.fpu:
1910
extra_args: CONF_FILE=prj_x86.conf
2011
extra_configs:

0 commit comments

Comments
 (0)