qemu_x86_tiny has very limited memory resources; if too much text is included in this test, it will not have enough remaining memory to run it. When using picolibc before 1.8.5, the only way to get 'long long' support was to use the full version, including floating point support. This is too large for this testcase. Reduce the size of the printf code by switching to the version without 64-bit integer support. This allows the test to pass when using older picolibc versions, such as that included with SDK version 0.16.3. Signed-off-by: Keith Packard <keithp@keithp.com>
34 lines
1.1 KiB
YAML
34 lines
1.1 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
|
|
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
|