zephyr/tests/kernel/mem_protect/mem_map/testcase.yaml
Daniel Leung b43e7387db tests: mem_map: no exec test for intel_adsp/ace30/ptl
This needs special treatment because the TEST_MEM_MAP section
is placed at the end. Since there is code in TEST_MEM_MAP,
rimage thinks the whole text section spans from .text to
end of TEST_MEM_MAP, which overlaps .data and others, so
it complains. Skip the execution test to avoid this issue.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-10-03 22:00:54 +01:00

46 lines
1.6 KiB
YAML

common:
ignore_faults: true
tags:
- kernel
- mmu
tests:
kernel.memory_protection.mem_map:
filter: CONFIG_MMU and not CONFIG_X86_64
extra_sections: _TRANSPLANTED_FUNC
extra_configs:
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
- CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
platform_exclude:
- qemu_x86_64
- intel_adsp/ace30/ptl
integration_platforms:
- qemu_x86
kernel.memory_protection.mem_map.x86_64:
filter: CONFIG_MMU and CONFIG_X86_64 and not CONFIG_COVERAGE
extra_sections: _TRANSPLANTED_FUNC
integration_platforms:
- qemu_x86_64
kernel.memory_protection.mem_map.x86_64.coverage:
filter: CONFIG_MMU and CONFIG_X86_64 and CONFIG_COVERAGE
extra_sections: _TRANSPLANTED_FUNC
extra_args:
- EXTRA_CFLAGS=-DSKIP_EXECUTE_TESTS
extra_configs:
- CONFIG_COVERAGE=y
platform_allow: qemu_x86_64
kernel.memory_protection.mem_map.x86_64.coverage.exec:
filter: CONFIG_MMU and CONFIG_X86_64 and CONFIG_COVERAGE
extra_sections: _TRANSPLANTED_FUNC
extra_args: CONF_FILE=prj_x86_64_coverage_exec.conf
platform_allow: qemu_x86_64
kernel.memory_protection.mem_map.soc_intel_adsp:
# This needs special treatment because the TEST_MEM_MAP section
# is placed at the end. Since there is code in TEST_MEM_MAP,
# rimage thinks the whole text section spans from .text to
# end of TEST_MEM_MAP, which overlaps .data and others, so
# it complains. Skip the execution test to avoid this issue.
extra_sections: _TRANSPLANTED_FUNC
extra_args: EXTRA_CFLAGS=-DSKIP_EXECUTE_TESTS
platform_allow:
- intel_adsp/ace30/ptl