Skip to content

Commit 035e8e0

Browse files
author
Cruz Monrreal
authored
Merge pull request #8964 from kfnta/parser_empty_tests
Correct behavior of PSA code generator
2 parents 73db5da + 935f2bd commit 035e8e0

File tree

2 files changed

+3
-83
lines changed

2 files changed

+3
-83
lines changed

TESTS/psa/crypto_init/COMPONENT_SPE/psa_setup.c

Lines changed: 0 additions & 83 deletions
This file was deleted.

tools/spm/generate_partition_code.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,9 @@ def generate_psa_code():
783783
tests_dict[test_root] = [manifest_path for manifest_path in
784784
test_manifest_files if
785785
test_root in manifest_path]
786+
787+
if not tests_dict[test_root]:
788+
continue
786789
tests_dict[test_root] += system_manifest_files
787790
generate_psa_setup(sorted(tests_dict[test_root]), test_root,
788791
weak_setup=False)

0 commit comments

Comments
 (0)