[Framework] Move test_psa_*.py scripts to the framework #94
Labels
No labels
approved
bug
dependencies
DO-NOT-MERGE
enhancement
good-first-issue
help-wanted
historical-reviewed
historical-reviewing
needs-adoption
needs-ci
needs-design-approval
needs-info
needs-preceding-pr
needs-review
needs-reviewer
needs-work
priority-high
priority-low
priority-medium
priority-scheduled
priority-very-high
single-reviewer
size-l
size-m
size-s
size-xs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Mbed-TLS/mbedtls-framework#94
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Move
tests/scripts/test_psa_compliance.pyandtests/scripts/test_psa_constant_names.pyto the framework - they will be used by Mbed TLS 3.6 and tf-psa-crypto.The versions of
test_psa_compliance.pyin 3.6 and development are slightly different in that the version in development has been adapted to tf-psa-crypto. The version from development should work for 3.6 too as it includes checks for which repo we're in.The versions of
test_psa_constant_names.pyin 3.6 and development differ in some paths. These should be reconciled, probably usingis_mbedtls_3_6()from thebuild_treemodule. (Once the script is in the framework repo,from . import build_treeshould work. From the mbedtls repo, I think we wantimport framework_scripts_path # pylint: disable=unused-importthenfrom mbedtls_framework import build_tree.)Regarding
test_psa_compliance.py: over time, LTS branches won't comply to the same version as the development branch. Right nowPSA_ARCH_TESTS_REFis hard-coded in the framework, at some point we'll need to have it per branch.