-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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: split XSI_REALTIME to standalone test #81859
base: main
Are you sure you want to change the base?
tests: posix: common: split XSI_REALTIME to standalone test #81859
Conversation
This is a tricky one.
At some point, it would be nice if the standards body made it a proper Option Group. Maybe it's best to keep it in common for now? What do you think @ycsin ? |
Aha - found it here.
Aside from Most of these options (including So I woulud say that we need to define at least one additional Option Group. Based on existing naming conventions, for the So @Pancakem - can you please
There may be other existing tests that should be moved, but I have to get to some other things atm. @ycsin - if you have time at some point, can you please create an issue to create the |
ea46918
to
a623aa3
Compare
We should wait to merge this until 82004 is done |
72b63e5
to
c5fa3a2
Compare
@@ -6,14 +6,14 @@ | |||
*/ | |||
|
|||
#include <fcntl.h> | |||
#include <mqueue.h> | |||
#include <message_passing.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this was a bit of a hasty search + replace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the rebased off an older iteration of the work. Fixing it.
pthread_exit(p1); | ||
return NULL; | ||
} | ||
|
||
ZTEST(mqueue, test_mqueue) | ||
ZTEST(message_passing, test_message_passing) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only the testsuite name should change here, not the test name, here and in other tests
@@ -40,13 +40,11 @@ static void *sender_thread(void *p1) | |||
zassert_false(mq_timedsend(mqd, send_data, MESSAGE_SIZE, 0, &curtime), | |||
"Not able to send message in timer"); | |||
usleep(USEC_PER_MSEC); | |||
zassert_false(mq_close(mqd), | |||
"unable to close message queue descriptor."); | |||
zassert_false(mq_close(mqd), "unable to close message queue descriptor."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If CI doesn't complain, I think my preference would be to omit unnecessary formatting changes.
zassert_equal(errno, ENOSYS); | ||
|
||
not.sigev_notify = SIGEV_NONE; | ||
not .sigev_notify = SIGEV_NONE; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems wrong
44311c6
to
ea4b831
Compare
@Pancakem - can you please move tests related to the following, into a new
|
Alright on it. |
@cfriedt should |
@Pancakem - no, just move the fsync and fdatasync tests. We want to organize suites by Option Group, and POSIX_FILE_SYSTEM tests should remain here. |
posix.common contains testsuites that can be separated into smaller groups of tests. This change moves mqueue into a singular testsuite at tests/posix/message_passing app directory. Signed-off-by: Marvin Ouma <[email protected]>
ea4b831
to
438836e
Compare
Fixes #83634
posix.common contains testsuites that can be separated into smaller groups of tests.
This change moves XSI_REALTIME tests into a singular testsuite at tests/posix/xsi_realtime app directory.