aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorGuillermo Ignacio Enriquez Gutierrez <ignacio@jp.ibm.com>2018-09-20 01:41:23 +0900
committerGuillermo Ignacio Enriquez Gutierrez <ignacio@jp.ibm.com>2018-09-22 22:45:34 +0900
commitb8581b7b67327e6d41078c5a4e620b4c7ff399d3 (patch)
tree7db3bed0ac39f087686705bd193ce7d65c05a624 /run_project_tests.py
parent2b26ddbf3e9140b2f1052fbef56c69be79eecf36 (diff)
downloadmeson-b8581b7b67327e6d41078c5a4e620b4c7ff399d3.zip
meson-b8581b7b67327e6d41078c5a4e620b4c7ff399d3.tar.gz
meson-b8581b7b67327e6d41078c5a4e620b4c7ff399d3.tar.bz2
Fix test script to be able to run in local macos
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 27e588b..6003370 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -393,6 +393,7 @@ def _run_test(testdir, test_build_dir, install_dir, extra_args, compiler, backen
def gather_tests(testdir: Path):
tests = [t.name for t in testdir.glob('*')]
+ tests = [t for t in tests if t != '.DS_Store'] # Filter non-tests files (macOS Finder indexing files, etc)
testlist = [(int(t.split()[0]), t) for t in tests]
testlist.sort()
tests = [testdir / t[1] for t in testlist]