-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Move rtos stubs to the rtos directory #14819
Conversation
@rajkan01, thank you for your changes. |
I added the issue to our project board and removed the PR. We prefer putting the issue onto the board, and it automatically shows the PR that fixes it. |
This pull request has automatically been marked as stale because it has had no recent activity. @ARMmbed/mbed-os-maintainers, please start CI to get the PR merged. |
CI started |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
The failed files are stubs from unittests, they should not be compiled for cloud examples (I opened build cloud example Gcc Arm for instance) ? |
Pull request has been modified.
5bf88e0
to
a9c3ea4
Compare
It supposed not to be compiled for cloud example because of newly added the UNITTESTS directory in rtos, so pushed the missing .mbedignore file to fix the issue |
CI restarted |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
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.
The last commit "Fix the CI issue" is a fix-up and should ideally be squashed to the original commit (that moves files). But as CI has already been run, I'm fine with the PR in its current state.
@rajkan01 We can rerun the CI if you squash the last two (fixup commit) |
Move the rtos stub library into the rtos component directory. so we can avoid duplicating the mbed-os source tree in a central UNITTESTS folder.
…ctory Move rtos stubs headers to the mbed-os/rtos/tests/UNITTESTS/double directory and update CMake to create a mbed-stubs-rtos-headers library for rtos stub headers
Move the header-only mbed-headers-rtos library the unit test stubs depend on into the rtos component directory. This makes the rtos stubs more self-contained and improves the composition of the library.
mbed-stubs-connectivity now depends on the mbed-stubs-rtos and mbed-stubs-rtos-headers because it requires some headers and sources which were moved to mbed-stubs-rtos and mbed-stubs-rtos-headers.
a9c3ea4
to
8efb322
Compare
Ci restarted |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 3 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
fixes #14793
This PR makes the mbed-stubs-rtos library more self-contained by removing the dependencies on the monolithic header libraries we created to make implementing the stubs easier. We also move the files to the rtos directory so the stubs live with the associated component.
Impact of changes
None.
Migration actions required
None
Documentation
To be updated
Pull request type
Test results
Reviewers