-
Notifications
You must be signed in to change notification settings - Fork 3k
Add new target in mbedtls importer Makefile for mbedtls tests #4518
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
Ready for merge? |
@mazimkhan - you've scripted to copy a file |
|
@sbutcher-arm Thanks for the review, please let us know if this PR is approved or not. |
@yanesca Could you review? |
bump @yanesca |
@yanesca Could you take a look? |
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.
In general it looks good to me, there are only two minor suggestions I would like to make:
- could we please replace
deploy
withdeploy-tests
in the prerequisites of thembedtls
? - I am probably being overly cautious, but could we please add
deploy-tests
to the.PHONY
targets?
* could we please replace deploy with deploy-tests in the prerequisites of the mbedtls?
Please see the PR description. This PR is a stage change in which functionality to generate target tests is added. But existing behaviour is not modified. Generating and importing the tests by default would impact existing CIs. This would be done after on-target testing PR #930 in mbed-tls repo is merged and we decide which mbed-tls tests to run in CI.
* I am probably being overly cautious, but could we please add deploy-tests to the .PHONY targets?
Thanks I will make this change.
|
@mazimkhan What is then outstanding in this PR? |
retest uvisor |
I am waiting for @yanesca opinion on "could we please replace deploy with deploy-tests in the prerequisites of the mbedtls?" |
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.
That makes perfect sense. Looks good to me!
Added deploy-tests to .PHONY target. Ready for merge after CI passes. |
Description
A new target is added to deploy mbedtls tests along with source code in mbed-os. Separate target is added to prevent changes in current deployment process. For some time it would only be used in staging CI to observer test stability. Also it gives the ability to only import tests for testing mbedtls with mbed-os i.e. only deploy tests for testing purpose.
Status
READY
Migrations
If this PR changes any APIs or behaviors, give a short description of what API users should do when this PR is merged.
YES | NO
Related PRs
List related PRs against other branches:
Does not depend but will be used with mbedtls PR Mbed-TLS/mbedtls#930
Todos
Deploy notes
mbed-os/features/mbedtls/importer/TARGET_IGNORE/
cd mbed-os/features/mbedtls/importer/TARGET_IGNORE/mbedtls/tests/
make gen-embedded-tests
cd ../../../
at importer levelmake deploy-tests
cd ../../../
at mbed-os levelSteps to test or reproduce
See deploy steps.