-
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 hal stubs to hal directory #14827
Conversation
@rajkan01, thank you for your changes. |
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
7f6f4b4
to
65e9b8c
Compare
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.
LGTM
Given the number of PRs that move unit tests stubs, maybe we will need to rebase some of them a few times when things get merged and cause git conflicts. |
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
CI started |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Move the hal stubs into the hal component directory. so we can avoid duplicating the mbed-os source tree in a central UNITTESTS folder.
Move the header-only mbed-headers-hal library the unit test stubs depend on into the hal component directory. This makes the events stubs more self-contained and improves the composition of the library.
Previously the hal stub library depended on `mbed-headers`, which is a collection of all available headers in mbed-os. To make it easier to separate the library, only depend on the headers we're using.
The --coverage flag globally set in UNITTESTS/CMakeLists.txt and configuring the same option again in mbed-stubs-hal is redundant so remove it
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.
LGTM, just need to rerun CI
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
fixes #14789
Impact of changes
None.
Migration actions required
None
Documentation
To be updated
Pull request type
Test results
Reviewers