1
0
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:
Gilles Peskine
2024-04-10 16:40:10 +02:00
parent c113b42fc1
commit d3286af1b7
3 changed files with 1885 additions and 1884 deletions

View File

@ -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