zephyr/tests/kernel/mem_protect/userspace/testcase.yaml
Alberto Escolar Piedras fb38b90481 tests kernel: Exclude posix arch for userspace tests
These tests cannot be run in this architecture as it does not
support userspace.
Today they are filtered by kconfig, which works but spends
time running cmake.
As native_posix is a default test platform it is better
to filter it alltogether by arch, which saves quite a lot
of time.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-10-24 09:05:29 +02:00

29 lines
843 B
YAML

common:
ignore_faults: true
tags:
- kernel
- security
- userspace
arch_exclude:
- posix
tests:
kernel.memory_protection.userspace:
filter: CONFIG_ARCH_HAS_USERSPACE
extra_configs:
- CONFIG_TEST_HW_STACK_PROTECTION=n
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
kernel.memory_protection.userspace.gap_filling.arc:
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
arch_allow: arc
extra_args: CONFIG_MPU_GAP_FILLING=y
kernel.memory_protection.userspace.gap_filling.arm:
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
arch_allow: arm
platform_allow:
- efr32_radio_brd4180a
- mps2_an521
- nrf9160dk_nrf9160
integration_platforms:
- mps2_an521
extra_args: CONFIG_MPU_GAP_FILLING=y