-
Notifications
You must be signed in to change notification settings - Fork 3k
Bare metal greentea support #11721
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
Bare metal greentea support #11721
Conversation
features/frameworks/greentea-client/source/greentea_metrics.cpp
Outdated
Show resolved
Hide resolved
@rajkan01, thank you for your changes. |
features/frameworks/greentea-client/source/greentea_metrics.cpp
Outdated
Show resolved
Hide resolved
features/frameworks/greentea-client/source/greentea_test_env.cpp
Outdated
Show resolved
Hide resolved
1b5cfbc
to
e00bad2
Compare
Update the PR description and mark that this PR introduces |
c319b85
to
2b8f26c
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.
Discussed with @rajkan01, 155 changes file would too much for review.
Suggested to breakdown in to smaller PRs, and let individual team-leads to review
-Added the baremetal.json on Tests directory to enable bare-metal -Conditional enable of greentea metrics Note: Run green tea with bare metal mbed test -m target -t GCC_ARM -n tests-mbed_platform-transaction --app-config TESTS/baremetal.json
-Added the mbedtls,crypto,psa,filesystem,fat,littlefs in baremetal.json to resolve compiler issue -Disable metrics that are not available for bare metal -Moved the baremetal.json inside TESTS/configs directory
e2e8b37
to
aef2d84
Compare
- RTOS supported test case guarded with MBED_CONF_RTOS_PRESENT flag - Added the #error to non supported test case for bare metal
…s to back to original -Change the #error description more precisely -Separated the MBED_CONF_RTOS_PRESENT guarded
aef2d84
to
b1731ce
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.
I think we have to enable more bare metal tests. If it does not take too much time we will do it in this PR; if not we will raise tickets to work on it separately.
688fbe7
to
74d1939
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 now
35718a0
to
9e994cf
Compare
f842e19
to
bd5fc8d
Compare
bd5fc8d
to
6437f99
Compare
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
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.
Looks good to me
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.
As stated, we will need to fix some tests that should run with baremetal (everything in platform/hal should do). This comes as result "rtos always included".
…d#11721 This test is failed since ARMmbed#11721 Bare metal greentea support on many STM32 boards: NUCLEO_F072RB, NUCLEO_F070RB NUCLEO_F411RE, NUCLEO_F439ZI, NUCLEO_F446ZE, DISCO_F407VG NUCLEO_F303RE ...
tests-mbed_hal-sleep_manager: fix regression found on since PR #11721
Description (required)
Enabling green tea test support for bare metal and test cases update
Summary of change (What the change is for and why)
mbed test -m NUCLEO_F429ZI -t GCC_ARM --app-config TESTS/configs/baremetal.json
mbed test -m K64F -t GCC_ARM --app-config TESTS/configs/baremetal.json
Documentation (Details of any document updates required)
Pull request type (required)
Test results (required)
Reviewers (optional)
@evedon @hugueskamba @jamesbeyond
Release Notes (required for feature/major PRs)
Summary of changes
Impact of changes
Migration actions required