tests: kernel: mutex: Require 32kB RAM when building with USERSPACE

The sys_mutex test doesn't seem to fit in 24kB of RAM anymore,
when building with user mode support (CONFIG_USERSPACE=y). We,
therefore, restrict it to platforms that have 32KB or more of
RAM. We also filter the test with ARCH_HAS_USERSPACE explicitly.

The alternative setup of the sys_mutex test, i.e. without user
mode support (CONFIG_TEST_USERSPACE=n) continues to build for
platforms with less than 32k of RAM.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2019-08-15 11:45:55 +02:00 committed by Kumar Gala
commit ac442203bb

View file

@ -1,5 +1,7 @@
tests:
sys.mutex:
min_ram: 32
filter: CONFIG_ARCH_HAS_USERSPACE
tags: kernel userspace
sys.mutex.nouser:
tags: kernel