Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/posix/env: set CONFIG_PICOLIBC=y #72917

Merged
merged 1 commit into from
May 24, 2024

Conversation

aescolar
Copy link
Member

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.

@zephyrbot zephyrbot added area: POSIX POSIX API Library Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. labels May 17, 2024
@zephyrbot zephyrbot requested review from cfriedt and ycsin May 17, 2024 08:35
Copy link
Member

@cfriedt cfriedt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add to boards/ instead.

@aescolar aescolar requested a review from cfriedt May 17, 2024 12:19
cfriedt
cfriedt previously approved these changes May 21, 2024
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 <[email protected]>
@MaureenHelm MaureenHelm merged commit ab50b37 into zephyrproject-rtos:main May 24, 2024
21 checks passed
@aescolar aescolar deleted the test_posix_env_2 branch May 24, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: POSIX POSIX API Library Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants