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 threads_ext to standalone test #81613

Conversation

Pancakem
Copy link
Contributor

@Pancakem Pancakem commented Nov 19, 2024

Fixes #81490

posix.common contains testsuites that can be separated into smaller groups of tests. This change moves pthread_attr into a singular testsuite at tests/posix/threads/ext app directory.

@zephyrbot zephyrbot added the area: POSIX POSIX API Library label Nov 19, 2024
@zephyrbot zephyrbot requested review from cfriedt and ycsin November 19, 2024 17:09
ycsin
ycsin previously approved these changes Nov 20, 2024
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.

Some of these should be part of POSIX_THREADS_BASE, others part of XSI_THREADS_EXT

tests/posix/threads_ext/CMakeLists.txt Outdated Show resolved Hide resolved
tests/posix/threads_ext/prj.conf Outdated Show resolved Hide resolved
tests/posix/threads_ext/src/main.c Outdated Show resolved Hide resolved
tests/posix/threads_ext/src/main.c Outdated Show resolved Hide resolved
tests/posix/threads_ext/src/main.c Outdated Show resolved Hide resolved
tests/posix/threads_ext/src/main.c Outdated Show resolved Hide resolved
tests/posix/threads_ext/src/main.c Outdated Show resolved Hide resolved
tests/posix/threads_ext/src/main.c Outdated Show resolved Hide resolved
tests/posix/threads_ext/src/main.c Outdated Show resolved Hide resolved
tests/posix/threads_ext/src/main.c Outdated Show resolved Hide resolved
@Pancakem
Copy link
Contributor Author

Some of these should be part of POSIX_THREADS_BASE, others part of XSI_THREADS_EXT

@cfriedt should the ones that belong to POSIX_THREADS_BASE be moved?

@cfriedt
Copy link
Member

cfriedt commented Nov 20, 2024

@cfriedt should the ones that belong to POSIX_THREADS_BASE be moved?

Probably not until other tests for POSIX_THREADS_BASE are moved.

@Pancakem Pancakem force-pushed the separate_posix_thread_ext_into_standalone_test branch from 8e77f88 to 455971c Compare November 21, 2024 18:06
@Pancakem
Copy link
Contributor Author

@cfriedt I stripped down POSIX_THREADS_EXT to this. Is it faithful to what is needed?

cfriedt

This comment was marked as duplicate.

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.

Cannot delete all of tests/posix/common/src/pthread_attr.c

@Pancakem Pancakem force-pushed the separate_posix_thread_ext_into_standalone_test branch from 455971c to 4e84eb2 Compare November 21, 2024 19:44
posix.common contains testsuites that can be separated into smaller
groups of tests. This change moves pthread_attr into a singular
testsuite at tests/posix/threads/ext app directory.

Signed-off-by: Marvin Ouma <[email protected]>
@Pancakem Pancakem force-pushed the separate_posix_thread_ext_into_standalone_test branch from 4e84eb2 to 4497790 Compare December 2, 2024 17:18
@kartben kartben merged commit 1a63360 into zephyrproject-rtos:main Dec 3, 2024
18 checks passed
@Pancakem Pancakem deleted the separate_posix_thread_ext_into_standalone_test branch January 24, 2025 12:39
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: split posix_threads_ext tests into standalone test
5 participants