-
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
Use standalone greentea-client #14803
Conversation
@Patater, thank you for your changes. |
CI started |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
I suppose CLI2 as CL1 doesn't use cmake ? |
529fc80
to
a44c05b
Compare
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
a44c05b
to
6a6bbe0
Compare
Rebased on latest |
CI started |
Jenkins CI Test : ❌ FAILEDBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
Any external libraries we depend on can be added from the "extern" folder.
fed2848
to
00fc196
Compare
Rebased on latest |
00fc196
to
a6dba39
Compare
Use FetchContent to obtain greentea-client at version XXX.
For CMake or Mbed CLI 2, use the standalone greentea-client.
When using an exported or installed version of greentea, it's necessary to use the greentea namespace.
Set MBED_TEST_MODE with INTERFACE. Use INTERFACE because mbed-os is an interface target, and we can only set INTERFACE properties on interface targets. This helps avoid the following error when building an application. CMake Error at mbed-os/CMakeLists.txt:96 (target_compile_definitions): target_compile_definitions may only set INTERFACE properties on INTERFACE targets
a6dba39
to
ef07746
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
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 3 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
Use standalone greentea-client (from https://github.com/ARMmbed/greentea-client) for Mbed CLI 2. Make a new
extern
folder to hold a CMakeLists.txt for fetching external dependencies like greentea-client. Use CMake'sFetchContent()
to fetch greentea-client.Impact of changes
None
Migration actions required
None
Documentation
extern
folder wherever we have folder structure documentationPull request type
Test results
Reviewers