Commit 1cb9c795 authored by peastman's avatar peastman
Browse files

Merge pull request #851 from jchodera/fix-travis-test-failures

Modified travis logic to only fail if retested tests fail.
parents e5b4535d 62581e9c
......@@ -23,8 +23,8 @@ script:
- sudo make PythonInstall
- # Run the testInstallation script
- python -m simtk.testInstallation
- # run all of the tests
- ctest -j2 -V
- # run all of the tests, making sure failures at this stage don't cause travis failures
- ctest -j2 -V || true
- # get a list of all of the failed tests into this stupid ctest format
- python -c 'fn = "Testing/Temporary/LastTestsFailed.log"; import os; os.path.exists(fn) or exit(0); l = [line.split(":")[0] for line in open(fn)]; triplets = zip(l, l, [","]*len(l)); print "".join(",".join(t) for t in triplets)' > FailedTests.log
- # rerun all of the failed tests
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment