-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Move crypto test suites #9394
Move crypto test suites #9394
Conversation
a67a3fc
to
1e41203
Compare
1e41203
to
20ca55d
Compare
9f9a945
to
b18a364
Compare
@@ -0,0 +1,362 @@ | |||
set(libs |
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.
This file is duplicating {MBEDTLS-ROOT}/tests/CMakeLists.txt. It is effectively a large ammount of duplicated code. I am assuming those files are expected to diverge later on, so could we possibly source one from the other when they need to be identical?
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.
Eventually there will be one in mbedtls and one in TF-PSA-Crypto with quite similar content and we do not plan to share anything there. Otherwise as of this PR, the two files diverge in the two following commits. I've done it that way to highlight in the commit history that the new tf-psa-crypto/tests/CMakeLists.txt file is just a derivation of the one we have in Mbed TLS and you can see the derivation in the commit "Add tf-psa-crypto test suites build".
Signed-off-by: Ronald Cron <[email protected]>
Signed-off-by: Ronald Cron <[email protected]>
Signed-off-by: Ronald Cron <[email protected]>
Signed-off-by: Ronald Cron <[email protected]>
Signed-off-by: Ronald Cron <[email protected]>
Signed-off-by: Ronald Cron <[email protected]>
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.
LGTM, thanks!
ba045b2
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, thanks!
Signed-off-by: Ronald Cron <[email protected]>
Signed-off-by: Ronald Cron <[email protected]>
ba045b2
to
b16b8c2
Compare
@davidhorstmann-arm @minosgalanakis last version: updated the framework to the merge of #38 instead of #36 and updated the PSA test wrappers. |
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.
LGTM, thanks!
perl scripts/run-test-suites.pl $(TEST_FLAGS) --skip=$(SKIP_TEST_SUITES) | ||
cd ../tf-psa-crypto/tests && perl ../../tests/scripts/run-test-suites.pl $(TEST_FLAGS) --skip=$(SKIP_TEST_SUITES) |
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.
Bug: the crypto tests are skipped if a TLS test fails.
Why doesn't run-test-suites.pl
take care of looking for the subproject's test suites? (Like ctest
does.)
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.
Why doesn't
run-test-suites.pl
take care of looking for the subproject's test suites?
Description
Repo split preparation, move crypto test suites to tf-psa-crypto.
Companion mbedtls-framework PR: Mbed-TLS/mbedtls-framework#36
Fix #9266
PR checklist