tests/mem_protect: Use minimal libc for kernel.memory_protection
This test has trouble on qemu_x86_tiny and randomly generates a Double Fault error. I couldn't get it to reliably run with picolibc as a Double Fault usually occured before the test completed. I spent a couple of hours attempting to track this down and found that it happens when code pages for the main thread get unmapped because the qemu_x86_tiny intentionally offers very few available PTEs. Work around this by just using the minimal libc for this test. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
6738e8e9df
commit
fb193e2d3d
|
@ -5,7 +5,7 @@ tests:
|
|||
kernel.memory_protection:
|
||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||
platform_exclude: twr_ke18f
|
||||
extra_args: CONFIG_TEST_HW_STACK_PROTECTION=n
|
||||
extra_args: CONFIG_TEST_HW_STACK_PROTECTION=n CONFIG_MINIMAL_LIBC=y
|
||||
kernel.memory_protection.gap_filling.arc:
|
||||
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
|
||||
arch_allow: arc
|
||||
|
|
Loading…
Reference in New Issue