tests/posix/env: set CONFIG_PICOLIBC=y
Chosing by default in the prj.conf PICOLIBC ensures we also use an embedded libC even when built for a native target and even if we dont set POSIX_API. This ensures the test will build and pass properly when built with default configuration from command line without using the test yaml. This change does not affect the build result for other targets as those defaulted already to PICOLIBC. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
6db2c2c2c1
commit
ab50b375e5
1 changed files with 3 additions and 0 deletions
3
tests/posix/env/prj.conf
vendored
3
tests/posix/env/prj.conf
vendored
|
@ -1,3 +1,6 @@
|
|||
CONFIG_ZTEST=y
|
||||
CONFIG_POSIX_ENV=y
|
||||
# Let's explicitly choose PICOLIBC, so it is used if supported even if it would not have been the
|
||||
# default (otherwise native targets default to the host C library)
|
||||
CONFIG_PICOLIBC=y
|
||||
CONFIG_COMMON_LIBC_MALLOC=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue