zephyr/tests/lib/c_lib/common/testcase.yaml
Ilya Tagunov 9d229e5c18 tests: lib: c_lib: add the proper dependency for asctime_r and ctime_r
As the test uses reentrant time functions like asctime_r or ctime_r,
it should select POSIX_C_LANG_SUPPORT_R. Otherwise there are build
failures observed with the default test configuration if these
functions are not provided by the toolchain.

Signed-off-by: Ilya Tagunov <Ilya.Tagunov@synopsys.com>
2024-11-23 20:12:02 -05:00

46 lines
1.2 KiB
YAML

common:
tags:
- clib
ignore_faults: true
integration_platforms:
- mps2/an385
tests:
libraries.libc.common: {}
libraries.libc.common.minimal:
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
tags: minimal_libc
extra_configs:
- CONFIG_MINIMAL_LIBC=y
- CONFIG_MINIMAL_LIBC_NON_REENTRANT_FUNCTIONS=y
- CONFIG_MINIMAL_LIBC_RAND=y
libraries.libc.common.newlib:
filter: CONFIG_NEWLIB_LIBC_SUPPORTED
min_ram: 32
tags: newlib
extra_configs:
- CONFIG_NEWLIB_LIBC=y
libraries.libc.common.newlib_nano:
filter: CONFIG_NEWLIB_LIBC_SUPPORTED and CONFIG_HAS_NEWLIB_LIBC_NANO
tags: newlib
extra_configs:
- CONFIG_NEWLIB_LIBC=y
- CONFIG_NEWLIB_LIBC_NANO=y
libraries.libc.common.picolibc:
filter: CONFIG_PICOLIBC_SUPPORTED
tags: picolibc
extra_configs:
- CONFIG_PICOLIBC=y
libraries.libc.common.picolibc.module:
filter: CONFIG_ZEPHYR_PICOLIBC_MODULE
tags: picolibc
extra_configs:
- CONFIG_PICOLIBC=y
- CONFIG_PICOLIBC_USE_MODULE=y
libraries.libc.common.picolibc.notls:
filter: CONFIG_ZEPHYR_PICOLIBC_MODULE
tags: picolibc
extra_configs:
- CONFIG_PICOLIBC=y
- CONFIG_PICOLIBC_USE_MODULE=y
- CONFIG_THREAD_LOCAL_STORAGE=n