mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-12 12:52:15 +00:00
Merge pull request #4757 from gilles-peskine-arm/generate_psa_tests-speedup-2.27
Backport 2.x: Speed up the generation of storage format test cases
This commit is contained in:
commit
008cd0c4d8
|
@ -489,7 +489,8 @@ class StorageFormat:
|
||||||
# test cases. This allows all required information to be obtained in
|
# test cases. This allows all required information to be obtained in
|
||||||
# one go, which is a significant performance gain as the information
|
# one go, which is a significant performance gain as the information
|
||||||
# includes numerical values obtained by compiling a C program.
|
# includes numerical values obtained by compiling a C program.
|
||||||
for key in self.generate_all_keys():
|
all_keys = list(self.generate_all_keys())
|
||||||
|
for key in all_keys:
|
||||||
if key.location_value() != 0:
|
if key.location_value() != 0:
|
||||||
# Skip keys with a non-default location, because they
|
# Skip keys with a non-default location, because they
|
||||||
# require a driver and we currently have no mechanism to
|
# require a driver and we currently have no mechanism to
|
||||||
|
|
Loading…
Reference in a new issue