Some test suites depend on determining at run-time an available IRQ line which can then be used to execute the test suite. This logic cannot used if the available IRQ line is not targeting the current security state. Therefore, filter out the _ns Cortex-m boards from running these tests suites (i.e. when building with CONFIG_TRUSTED_EXECUTION_NONSECURE=y) since we can not contol the target state of the NVIC interrupt lines. These tests suites test generic ARM features, that do not depend on TrustZone-M configuration, so it is OK that they are only executed on ARM platforms without the NONSECURE configration set. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
27 lines
873 B
YAML
27 lines
873 B
YAML
common:
|
|
filter: CONFIG_ARMV6_M_ARMV8_M_BASELINE or CONFIG_ARMV7_M_ARMV8_M_MAINLINE
|
|
tags: arm
|
|
arch_allow: arm
|
|
tests:
|
|
arch.arm.swap.common:
|
|
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
|
|
arch.arm.swap.common.no_optimizations:
|
|
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
|
|
extra_configs:
|
|
- CONFIG_NO_OPTIMIZATIONS=y
|
|
- CONFIG_IDLE_STACK_SIZE=512
|
|
min_flash: 192
|
|
arch.arm.swap.common.fpu_sharing:
|
|
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_ARMV7_M_ARMV8_M_FP
|
|
extra_configs:
|
|
- CONFIG_FPU=y
|
|
- CONFIG_FPU_SHARING=y
|
|
arch.arm.swap.common.fpu_sharing.no_optimizations:
|
|
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_ARMV7_M_ARMV8_M_FP
|
|
extra_configs:
|
|
- CONFIG_FPU=y
|
|
- CONFIG_FPU_SHARING=y
|
|
- CONFIG_NO_OPTIMIZATIONS=y
|
|
- CONFIG_IDLE_STACK_SIZE=512
|
|
min_flash: 192
|