tests: add min_ram for heap-using testcases

Two testcases have an implicit minimum memory requirement due to heap usage
and are failing with `ENOMEM` for some platforms:
* portability.xsi.single_process.newlib
* kernel.message_queue.usage

This commit filters out platform that can't satisfy this requirement.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
This commit is contained in:
Filip Kokosinski 2025-05-26 12:03:50 +02:00 committed by Benjamin Cabé
parent 29a191ad38
commit ba562ee684
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
tests:
kernel.message_queue.usage:
min_ram: 24
tags:
- kernel
- message queue

View File

@ -28,6 +28,7 @@ tests:
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=256
portability.xsi.single_process.newlib:
filter: TOOLCHAIN_HAS_NEWLIB == 1
min_ram: 24
extra_configs:
- CONFIG_NEWLIB_LIBC=y
- CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE=256