mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-02 10:00:47 -04:00
Simplify path in audit-validity-dates.py
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
72edc66437
commit
316beb349d
@ -273,9 +273,8 @@ class TestDataAuditor(Auditor):
|
|||||||
|
|
||||||
def collect_default_files(self):
|
def collect_default_files(self):
|
||||||
"""Collect all files in `framework/data_files/`"""
|
"""Collect all files in `framework/data_files/`"""
|
||||||
test_dir = self.find_test_dir()
|
test_data_glob = os.path.join(build_tree.guess_mbedtls_root(),
|
||||||
test_data_glob = os.path.join(test_dir, os.path.pardir, 'framework',
|
'framework', 'data_files/**')
|
||||||
'data_files/**')
|
|
||||||
data_files = [f for f in glob.glob(test_data_glob, recursive=True)
|
data_files = [f for f in glob.glob(test_data_glob, recursive=True)
|
||||||
if os.path.isfile(f)]
|
if os.path.isfile(f)]
|
||||||
return data_files
|
return data_files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user