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: common: separate posix c_lib_ext to standalone test #81441

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Pancakem
Copy link
Contributor

Fixes #79454
posix.common contains testsuites that can be separated into smaller groups of tests. This change moves fnmatch into a singular testsuite at tests/posix/c_lib_ext app directory.

@zephyrbot zephyrbot added the area: POSIX POSIX API Library label Nov 15, 2024
@Pancakem Pancakem force-pushed the separate_posix_c_lib_ext_into_standalone_test branch from b2e9176 to c0122d7 Compare November 15, 2024 12:17
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 also move the getentropy and getopt tests to the new directory in this PR as well.

Note: getentropy() was added as part of the 2024 revision but was not part of the 2008 revision.

https://pubs.opengroup.org/onlinepubs/9799919799/xrat/V4_subprofiles.html

@Pancakem Pancakem force-pushed the separate_posix_c_lib_ext_into_standalone_test branch from c0122d7 to 232585b Compare November 15, 2024 14:18
posix.common contains testsuites that can be separated into smaller
groups of tests. This change moves fnmatch, getopt and getentropy
into a singular testsuite at tests/posix/c_lib_ext app directory.

Signed-off-by: Marvin Ouma <[email protected]>
@Pancakem Pancakem force-pushed the separate_posix_c_lib_ext_into_standalone_test branch from 232585b to dd22cbc Compare November 15, 2024 14:41
CONFIG_POSIX_API=y
CONFIG_ZTEST=y

CONFIG_POSIX_AEP_CHOICE_BASE=y
Copy link
Member

Choose a reason for hiding this comment

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

I'm still kind of hesitant about having this here just because CONFIG_POSIX_C_LIB_EXT probably should not depend on any other POSIX options.

Will the test still pass if this line is removed?

Suggested change
CONFIG_POSIX_AEP_CHOICE_BASE=y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: POSIX POSIX API Library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests: posix: common: separate into smaller testsuites
3 participants