tests: kernel: errno: Add Newlib test config.
Added because previously, Zephyr used API incompatible with Newlib for errno handling. Even with Newlib compatibility changes, we override the function which is defined in Zephyr SDK libc.a, so makes sense to ensure thsi works as expected. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
parent
8cc6f6ddd6
commit
2ddd620617
2 changed files with 8 additions and 0 deletions
1
tests/kernel/errno/prj_newlib.conf
Normal file
1
tests/kernel/errno/prj_newlib.conf
Normal file
|
@ -0,0 +1 @@
|
|||
CONFIG_NEWLIB_LIBC=y
|
|
@ -3,3 +3,10 @@ tags = core
|
|||
# Make sure it has enough memory
|
||||
filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32
|
||||
or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32)
|
||||
|
||||
[test_newlib]
|
||||
tags = core
|
||||
extra_args = CONF_FILE=prj_newlib.conf
|
||||
# Make sure it has enough memory
|
||||
filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32
|
||||
or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue