Skip to content

Commit 5903be2

Browse files
Adapt abi_check.py
Signed-off-by: Ronald Cron <[email protected]>
1 parent 9e2ff40 commit 5903be2

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

framework

scripts/abi_check.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,15 @@ def _get_storage_format_tests(self, version, git_worktree_path):
350350
"""
351351
# Existing test data files. This may be missing some automatically
352352
# generated files if they haven't been generated yet.
353-
storage_data_files = set(glob.glob(
354-
'tests/suites/test_suite_*storage_format*.data'
355-
))
353+
if os.path.isdir(os.path.join(git_worktree_path, 'tf-psa-crypto',
354+
'tests', 'suites')):
355+
storage_data_files = set(glob.glob(
356+
'tf-psa-crypto/tests/suites/test_suite_*storage_format*.data'
357+
))
358+
else:
359+
storage_data_files = set(glob.glob(
360+
'tests/suites/test_suite_*storage_format*.data'
361+
))
356362
# Discover and (re)generate automatically generated data files.
357363
to_be_generated = set()
358364
for filename in self._list_generated_test_data_files(git_worktree_path):

0 commit comments

Comments
 (0)