-
Notifications
You must be signed in to change notification settings - Fork 24
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
Unit testing of thread scheduling API + additional fixes #416
Conversation
erlingrj
commented
Apr 28, 2024
•
edited
Loading
edited
- Add unit test of the scheduling API
- Fix a few more issues in the scheduling API
- Improve unit test CMake system
- Move RTI unit tests to the RTI folder and reuse the original CMake script
- Disable unit tests on Windows. They haven't been running anyways.
- Only accept unsigned CPU ids - Set priority to 0 for SCHED_OTHER - Only cal lf_thread_set_priority for SCHED_RR and SCHED_FIFO
4d34d7d
to
7b04b8a
Compare
7b04b8a
to
0fe300f
Compare
OK, @lhstrh this is finally ready for review |
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 reviewed this earlier but forgot to submit it 🤦
@lhstrh the comments should all be addressed now |
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.
A lot of CMake magic here that I have a hard time following, but this generally looks good!
Co-authored-by: Marten Lohstroh <[email protected]>
We appear to have a problem with |
It looks like unit tests were disabled for Windows, but we still expect them to pass in order to be pushed onto the merge queue... |
b6afbaf
to
a1e043b
Compare