-
Couldn't load subscription status.
- Fork 3k
Move Greentea test libraries into TESTS/COMMON #13431
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
3803519 to
84e7532
Compare
|
|
|
@LDong-Arm, thank you for your changes. |
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
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.
For future reference, it's bad practice to make formatting changes alongside the real purpose of the PR. They should really be done separately.
|
CI started |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
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.
the movings of
features/framwworks/utest/TESTS/unit_tests/case_setup_failure/main.cpp -> TESTS/COMMON/utest/TESTS/unit_tests/case_setup_failure/main.cpp
Not looking right for me
before moving they are in one level of TESTS folder, now they are in 2 level of TESTS
|
furthermore, I am not fully convinced that TESTS/COMMON is the right place to move. There are 2 separate things in here. Test Suites and Test Frameworks. in future the componentization model, I assume they will be separate components. As a test suite, you can put where ever you like. just like you move the suite into each individual module of TESTS folder. but framework should be in a fixed location. So maybe we should find a better suitable place for greentea and it related stuff. |
|
Moving Greentea-related libraries into the top-level Also, having And it's not possible to have both |
|
Closing this PR as it's proven not feasible - CI is catching it for us. We need another PR once we've decided on a different directory for the test framework. |
Summary of changes
As per the directory restructure plan, we get rid of features/frameworks by relocating libraries inside. This PR moves the following libraries used by Greentea tests into
TESTS/COMMON:greentea-clientutestunityFor each library, headers are moved into a newly created
include/.This also fixes styles for
greentea-clientandutestas they are parts of mbed-os, owned by Arm. Ignore styling forunitywhich is large an external library.Note:
COMMONis a magic keyword of the build system to make components available all Greentea test cases. Without it, test cases will fail to find those libraries during compilation.Other (non-test) frameworks libraries are covered by #13430
Impact of changes
None.
Migration actions required
None.
Documentation
None.
Pull request type
Test results
Reviewers
@ARMmbed/mbed-os-core @rajkan01 @jamesbeyond