1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Sort dependencies in automatically generated PSA test cases

The output is less nice, since it no longer mostly matches the order in
which symbols are used in the test case arguments. But this makes the output
more canonical, so it will be easier to notice if semantic changes occur in
subsequent commits.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2024-04-10 17:19:04 +02:00
parent c6fe12a155
commit c3b261a4fc
5 changed files with 667 additions and 666 deletions

View File

@ -73,6 +73,7 @@ def hack_dependencies_not_implemented(dependencies: List[str]) -> None:
dep = dep.lstrip('!')
if dep.startswith('PSA_WANT') and dep not in _implemented_dependencies:
dependencies.append('DEPENDENCY_NOT_IMPLEMENTED_YET_' + dep)
dependencies.sort()
class Information:
"""Gather information about PSA constructors."""