mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-06-06 05:25:18 +00:00
PSA test case generation: operation fail: skip never-implemented mechanisms
In `OpFail` test cases, remove the temporary hack whereby test cases were not skipped when they should be due to a mechanism being never implemented. This changes many test cases in `test_suite_psa_crypto_op_fail.generated.data` to be commented out with a "skipped because" reason instead of having a dependency on an algorithm or an ECC/DH group that is not implemented. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@@ -268,9 +268,6 @@ class OpFail:
|
||||
# symbol (e.g. PSA_WANT_KEY_TYPE_xxx) like we have here.
|
||||
tc.negated_dependencies.update(not_deps)
|
||||
tc.set_arguments(arguments)
|
||||
# Temporarily preserve the former behavior where operation failure
|
||||
# test cases were executed when they shouldn't have been.
|
||||
tc.skip_reasons = []
|
||||
return tc
|
||||
|
||||
def no_key_test_cases(
|
||||
|
||||
Reference in New Issue
Block a user