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:
@ -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."""
|
||||
|
Reference in New Issue
Block a user