Skip to content

Commit aedefd4

Browse files
keith-packardhenrikbrixandersen
authored andcommitted
tests/kernel/mem_protect/mem_map: Reduce printf size for qemu_x86_tiny
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 <[email protected]>
1 parent 7be1a81 commit aedefd4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/kernel/mem_protect/mem_map/testcase.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ tests:
77
kernel.memory_protection.mem_map:
88
filter: CONFIG_MMU and not CONFIG_X86_64
99
extra_sections: _TRANSPLANTED_FUNC
10-
extra_args: CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
10+
extra_configs:
11+
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
12+
- CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
1113
platform_exclude: qemu_x86_64
1214
integration_platforms:
1315
- qemu_x86

0 commit comments

Comments
 (0)