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:
Paul Sokolovsky 2017-05-11 00:26:59 +03:00 committed by Anas Nashif
commit 2ddd620617
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1 @@
CONFIG_NEWLIB_LIBC=y

View file

@ -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)