-
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
Deprecate the Greentea metrics API #14914
Conversation
@nicole-osaz, thank you for your changes. |
@nicole-osaz The CI is failing (the results will come in a bit). From the current logs, I was able to retrieve the error
|
Looks we are missing a headerfile include: #include "platform/mbed_toolchain.h" |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Pull request has been modified.
1ad932d
to
4679613
Compare
Rebased to apply the fixup commit |
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
@nicole-osaz Can you add license header via a new pull request? I realized this file does not have any |
Pull request has been modified.
Please rebase instead of merging (remove 2a6b7c2 merge commit) |
b652f02
to
29baf0a
Compare
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 3 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
@@ -7,11 +26,13 @@ | |||
/** | |||
* Setup platform specific metrics | |||
*/ | |||
MBED_DEPRECATED_SINCE("mbed-os-6.13", "Greentea metrics API are deprecated") |
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.
We released mbed-os-6.13 today, so the starting version will be mbed-os-6.14
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.
Correct, lets fix it
@@ -7,11 +26,13 @@ | |||
/** | |||
* Setup platform specific metrics | |||
*/ | |||
MBED_DEPRECATED_SINCE("mbed-os-6.13", "Greentea metrics API are deprecated") |
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.
Correct, lets fix it
Add the deprecated macro to where the Greentea metrics API is declared. Fixes ARMmbed#14790
Add missing license header to greentea_metrics.h
df9dfb6
to
2445169
Compare
Rebased to apply fixup commit |
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 4 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
This PR does not contain release version label after merging. |
Fixed |
Add the deprecated macro to where the Greentea metrics API is declared.
Fixes #14790
Summary of changes
The Greentea metrics API is no longer supported, so a deprecated macro has been added to where it is declared.
Impact of changes
Migration actions required
The Greentea metrics APIs are now deprecated. Any users of the Greentea metrics API should discontinue their use.
Documentation
We should also update the mbed-os-5-docs repo to remove any mention of Greentea metrics
Pull request type
Test results
Reviewers