-
Notifications
You must be signed in to change notification settings - Fork 3k
CMake: Refactor Greentea test CMakeLists.txt #14247
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
Conversation
@rajkan01, thank you for your changes. |
37b641d
to
9530abe
Compare
drivers/tests/TESTS/mbed_drivers/buffered_serial/CMakeLists.txt
Outdated
Show resolved
Hide resolved
drivers/tests/TESTS/mbed_drivers/buffered_serial/CMakeLists.txt
Outdated
Show resolved
Hide resolved
9530abe
to
7374f5f
Compare
drivers/tests/TESTS/mbed_drivers/buffered_serial/CMakeLists.txt
Outdated
Show resolved
Hide resolved
3c2da58
to
6467cff
Compare
drivers/tests/TESTS/mbed_drivers/buffered_serial/CMakeLists.txt
Outdated
Show resolved
Hide resolved
6777938
to
8715161
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.
Thanks for the changes. I trust it works - I'll test once all work on Greentea is complete.
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.
Otherwise LGTM
8715161
to
fbf6d88
Compare
Pull request has been modified.
fbf6d88
to
4bb5733
Compare
4bb5733
to
be3a399
Compare
- Added the new CMake `MBED_TEST_LINK_LIBRARIES` command-line argument support to receive all dependent libraries for the particular greentea test suite. For example: - To select mbed-os library, use cmake with -DMBED_TEST_LINK_LIBRARIES=mbed-os - To select baremetal library, use cmake with -DMBED_TEST_LINK_LIBRARIES=mbed-baremetal - To select baremetal with external error logging library to the test with -D "MBED_TEST_LINK_LIBRARIES=mbed-baremetal ext-errorlogging"
be3a399
to
b1c4c44
Compare
@0xc0170 I have updated this PR as suggested in the review comment, please re-review |
@rajkan01 shouldn't we update our docs as well, this config will be required to be passed when building a test. I wonder if we should document that this config should be used for selectable components? A test can also check if baremetal was requested and report an error if it's not supported. It would use this @rwalton-arm @hugueskamba What do you think? |
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. |
Pull request has been modified.
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.
Let's wait for @rwalton-arm review
I started CI meanwhile |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
MBED_TEST_LINK_LIBRARIES
command-line argument support to receive all dependent libraries for the particular greentea test suiteFor example:
-DMBED_TEST_LINK_LIBRARIES=mbed-os
-DMBED_TEST_LINK_LIBRARIES=mbed-baremetal
-D "MBED_TEST_LINK_LIBRARIES=mbed-baremetal ext-errorlogging"
Impact of changes
None.
Migration actions required
None.
Documentation
None.
Pull request type
Test results
Reviewers
@hugueskamba @0xc0170