diff options
author | Guillermo Ignacio Enriquez Gutierrez <ignacio@jp.ibm.com> | 2018-09-25 01:14:48 +0900 |
---|---|---|
committer | Guillermo Ignacio Enriquez Gutierrez <ignacio@jp.ibm.com> | 2018-09-25 01:14:48 +0900 |
commit | 5262aac977c899fac0c24e9c8e0185b9dc28ada8 (patch) | |
tree | 5710c1b2c6a21af5937ffd025a9ab225a303a308 /run_project_tests.py | |
parent | 6f4ba8b2f44d9cca0c2955cd0df74ef33efc339a (diff) | |
download | meson-5262aac977c899fac0c24e9c8e0185b9dc28ada8.zip meson-5262aac977c899fac0c24e9c8e0185b9dc28ada8.tar.gz meson-5262aac977c899fac0c24e9c8e0185b9dc28ada8.tar.bz2 |
Skip all dot files/directories when running tests
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-x | run_project_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index 6003370..ba7b5e0 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -393,7 +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) + tests = [t for t in tests if not t.startswith('.')] # Filter non-tests files (dot files, etc) testlist = [(int(t.split()[0]), t) for t in tests] testlist.sort() tests = [testdir / t[1] for t in testlist] |