Skip to content

Commit b0c52f1

Browse files
committed
tests: posix: explicitly enable required features
Explicitly enable the features required for the tests to pass, rather than relying on `POSIX_API` to enable defaults. Signed-off-by: Jordan Yates <[email protected]>
1 parent cd288a2 commit b0c52f1

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

tests/lib/c_lib/thrd/prj.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ CONFIG_TEST_USERSPACE=y
33
CONFIG_ZTEST_FATAL_HOOK=y
44

55
CONFIG_POSIX_API=y
6+
CONFIG_POSIX_THREADS=y
7+
CONFIG_POSIX_AEP_CHOICE_BASE=y
68
CONFIG_THREAD_STACK_INFO=y
79
CONFIG_DYNAMIC_THREAD=y
810
CONFIG_DYNAMIC_THREAD_POOL_SIZE=2

tests/posix/common/prj.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
CONFIG_POSIX_API=y
22
CONFIG_POSIX_THREAD_THREADS_MAX=6
33
CONFIG_ZTEST=y
4+
CONFIG_POSIX_AEP_CHOICE_BASE=y
5+
CONFIG_POSIX_DEVICE_IO=y
46
CONFIG_POSIX_SEM_VALUE_MAX=32767
57
CONFIG_POSIX_MESSAGE_PASSING=y
68
CONFIG_POSIX_PRIORITY_SCHEDULING=y

tests/posix/headers/prj.conf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,5 @@ CONFIG_POSIX_PRIORITY_SCHEDULING=y
1717
CONFIG_XOPEN_STREAMS=y
1818

1919
# for when CONFIG_POSIX_API is not selected
20-
CONFIG_POSIX_THREADS=y
21-
CONFIG_POSIX_TIMERS=y
22-
CONFIG_POSIX_MESSAGE_PASSING=y
23-
CONFIG_EVENTFD=y
20+
CONFIG_POSIX_AEP_CHOICE_PSE51=y
2421
CONFIG_POSIX_C_LIB_EXT=y
25-
CONFIG_POSIX_DEVICE_IO=y

tests/posix/xsi_threads_ext/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
CONFIG_POSIX_API=y
2+
CONFIG_POSIX_THREADS=y
23

34
CONFIG_ZTEST=y
45
CONFIG_XSI_THREADS_EXT=y

0 commit comments

Comments
 (0)