Fix test script to be able to run in local macos

pull/4243/head
Guillermo Ignacio Enriquez Gutierrez 6 years ago
parent 2b26ddbf3e
commit b8581b7b67
  1. 1
      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): def gather_tests(testdir: Path):
tests = [t.name for t in testdir.glob('*')] 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 = [(int(t.split()[0]), t) for t in tests]
testlist.sort() testlist.sort()
tests = [testdir / t[1] for t in testlist] tests = [testdir / t[1] for t in testlist]

Loading…
Cancel
Save