Skip to content

Commit b43e738

Browse files
dcpleungfabiobaltieri
authored andcommitted
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>
1 parent 3d65839 commit b43e738

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

tests/kernel/mem_protect/mem_map/testcase.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ tests:
1010
extra_configs:
1111
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
1212
- CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
13-
platform_exclude: qemu_x86_64
13+
platform_exclude:
14+
- qemu_x86_64
15+
- intel_adsp/ace30/ptl
1416
integration_platforms:
1517
- qemu_x86
1618
kernel.memory_protection.mem_map.x86_64:
@@ -31,3 +33,13 @@ tests:
3133
extra_sections: _TRANSPLANTED_FUNC
3234
extra_args: CONF_FILE=prj_x86_64_coverage_exec.conf
3335
platform_allow: qemu_x86_64
36+
kernel.memory_protection.mem_map.soc_intel_adsp:
37+
# This needs special treatment because the TEST_MEM_MAP section
38+
# is placed at the end. Since there is code in TEST_MEM_MAP,
39+
# rimage thinks the whole text section spans from .text to
40+
# end of TEST_MEM_MAP, which overlaps .data and others, so
41+
# it complains. Skip the execution test to avoid this issue.
42+
extra_sections: _TRANSPLANTED_FUNC
43+
extra_args: EXTRA_CFLAGS=-DSKIP_EXECUTE_TESTS
44+
platform_allow:
45+
- intel_adsp/ace30/ptl

0 commit comments

Comments
 (0)