mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
hack_dependencies_not_implemented: apply to positive test cases
In automatically generated PSA test cases, annotate the test cases that are expected to be never executed due to a dependency that is not implemented. This was already done for not-supported test cases and for key generation, but not for positive test cases of key usage. You can audit which mechanisms are detected as not-implemented with ``` grep -hEo 'DEPENDENCY_NOT_IMPLEMENTED_YET_\w+' tests/suites/*.data | sort -u ``` Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -133,4 +133,5 @@ class TestCase(test_case.TestCase):
|
||||
dependencies = automatic_dependencies(*arguments)
|
||||
if self.key_bits is not None:
|
||||
dependencies = finish_family_dependencies(dependencies, self.key_bits)
|
||||
hack_dependencies_not_implemented(dependencies)
|
||||
self.dependencies += dependencies
|
||||
|
Reference in New Issue
Block a user