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>
This commit is contained in:
parent
1f5fbe231a
commit
9d229e5c18
2 changed files with 1 additions and 2 deletions
|
@ -3,3 +3,4 @@ CONFIG_TEST_USERSPACE=y
|
|||
CONFIG_ZTEST_FATAL_HOOK=y
|
||||
CONFIG_MINIMAL_LIBC_NON_REENTRANT_FUNCTIONS=y
|
||||
CONFIG_MINIMAL_LIBC_RAND=y
|
||||
CONFIG_POSIX_C_LANG_SUPPORT_R=y
|
||||
|
|
|
@ -13,8 +13,6 @@ tests:
|
|||
- CONFIG_MINIMAL_LIBC=y
|
||||
- CONFIG_MINIMAL_LIBC_NON_REENTRANT_FUNCTIONS=y
|
||||
- CONFIG_MINIMAL_LIBC_RAND=y
|
||||
- CONFIG_COMMON_LIBC_ASCTIME_R=y
|
||||
- CONFIG_COMMON_LIBC_CTIME_R=y
|
||||
libraries.libc.common.newlib:
|
||||
filter: CONFIG_NEWLIB_LIBC_SUPPORTED
|
||||
min_ram: 32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue