zephyr/tests/lib/newlib/thread_safety/testcase.yaml
Stephanos Ioannidis 735ddeb4a8 tests: newlib: thread_safety: Add min. RAM constraint for stress tests
This commit adds a separate minimum RAM constraint for the thread-
safety stress tests because they have a significantly higher RAM
usage compared to the basic functional tests.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-05-26 15:11:43 -07:00

128 lines
3.1 KiB
YAML

common:
filter: TOOLCHAIN_HAS_NEWLIB == 1
tests:
libraries.libc.newlib.thread_safety:
tags: clib newlib
min_ram: 64
testcases:
- sfp_lock
- env_lock
- retargetable_lock_sem
- malloc_lock
- retargetable_lock_mutex
- sinit_lock
- tz_lock
libraries.libc.newlib.thread_safety.stress:
extra_configs:
- CONFIG_NEWLIB_THREAD_SAFETY_TEST_STRESS=y
slow: true
tags: clib newlib
min_ram: 192
testcases:
- sfp_lock
- env_lock
- malloc_thread_safety
- retargetable_lock_sem
- malloc_lock
- retargetable_lock_mutex
- sinit_lock
- tz_lock
libraries.libc.newlib.thread_safety.userspace:
extra_args: CONF_FILE=prj_userspace.conf
filter: CONFIG_ARCH_HAS_USERSPACE
tags: clib newlib userspace
min_ram: 64
testcases:
- sfp_lock
- env_lock
- retargetable_lock_sem
- malloc_lock
- retargetable_lock_mutex
- sinit_lock
- tz_lock
libraries.libc.newlib.thread_safety.userspace.stress:
extra_args: CONF_FILE=prj_userspace.conf
extra_configs:
- CONFIG_NEWLIB_THREAD_SAFETY_TEST_STRESS=y
- CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE=8192
filter: CONFIG_ARCH_HAS_USERSPACE
slow: true
tags: clib newlib userspace
min_ram: 192
testcases:
- sfp_lock
- env_lock
- malloc_thread_safety
- retargetable_lock_sem
- malloc_lock
- retargetable_lock_mutex
- sinit_lock
- tz_lock
timeout: 120
libraries.libc.newlib_nano.thread_safety:
extra_configs:
- CONFIG_NEWLIB_LIBC_NANO=y
filter: CONFIG_HAS_NEWLIB_LIBC_NANO
tags: clib newlib
min_ram: 64
testcases:
- sfp_lock
- env_lock
- retargetable_lock_sem
- malloc_lock
- retargetable_lock_mutex
- sinit_lock
- tz_lock
libraries.libc.newlib_nano.thread_safety.stress:
extra_configs:
- CONFIG_NEWLIB_THREAD_SAFETY_TEST_STRESS=y
- CONFIG_NEWLIB_LIBC_NANO=y
filter: CONFIG_HAS_NEWLIB_LIBC_NANO
slow: true
tags: clib newlib
min_ram: 192
testcases:
- sfp_lock
- env_lock
- malloc_thread_safety
- retargetable_lock_sem
- malloc_lock
- retargetable_lock_mutex
- sinit_lock
- tz_lock
libraries.libc.newlib_nano.thread_safety.userspace:
extra_args: CONF_FILE=prj_userspace.conf
extra_configs:
- CONFIG_NEWLIB_LIBC_NANO=y
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_HAS_NEWLIB_LIBC_NANO
tags: clib newlib userspace
min_ram: 64
testcases:
- sfp_lock
- env_lock
- retargetable_lock_sem
- malloc_lock
- retargetable_lock_mutex
- sinit_lock
- tz_lock
libraries.libc.newlib_nano.thread_safety.userspace.stress:
extra_args: CONF_FILE=prj_userspace.conf
extra_configs:
- CONFIG_NEWLIB_THREAD_SAFETY_TEST_STRESS=y
- CONFIG_NEWLIB_LIBC_NANO=y
- CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE=2048
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_HAS_NEWLIB_LIBC_NANO
slow: true
tags: clib newlib userspace
min_ram: 192
testcases:
- sfp_lock
- env_lock
- malloc_thread_safety
- retargetable_lock_sem
- malloc_lock
- retargetable_lock_mutex
- sinit_lock
- tz_lock
timeout: 120