Generate user-config-test-driver-extension.h automatically #255
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#255
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?
tests/configs/user-config-test-driver-extension.hin TF-PSA-Crypto contains macro definitions that all follow a specific pattern, and it is supposed to cover all supported cryptographic mechanisms (or at least all the ones for which we have driver support, although including the ones that don't is harmless).If we add a new mechanism and forget to update this file, we won't be testing the corresponding driver dispatch as expected.
The goal of this task is to generate
tests/configs/user-config-test-driver-extension.hautomatically, which means some Python code (ingenerate_test_driver.py?) using our existing code to enumerate PSA crypto mechanisms, plus the instructions for CMake to build this file and have it as a dependency.3.6 has a similar file, but it is out of scope, since we won't add any more mechanisms to 3.6.