Adapt abi_check.py

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2024-07-11 19:50:54 +02:00
parent 9e2ff40850
commit 5903be2404
2 changed files with 10 additions and 4 deletions

@ -1 +1 @@
Subproject commit df7024c72357610b3aa4194ae8e10ede989ed0fd
Subproject commit fc464209a949557108fc6de1bbb49e3bc1a4725e

View File

@ -350,9 +350,15 @@ class AbiChecker:
"""
# Existing test data files. This may be missing some automatically
# generated files if they haven't been generated yet.
storage_data_files = set(glob.glob(
'tests/suites/test_suite_*storage_format*.data'
))
if os.path.isdir(os.path.join(git_worktree_path, 'tf-psa-crypto',
'tests', 'suites')):
storage_data_files = set(glob.glob(
'tf-psa-crypto/tests/suites/test_suite_*storage_format*.data'
))
else:
storage_data_files = set(glob.glob(
'tests/suites/test_suite_*storage_format*.data'
))
# Discover and (re)generate automatically generated data files.
to_be_generated = set()
for filename in self._list_generated_test_data_files(git_worktree_path):