"platforms/cuda/vscode:/vscode.git/clone" did not exist on "596be80f147f1da0341e82acebe6deb0a42dc870"
Commit 62581e9c authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

Modified travis logic to only fail if retested tests fail.

parent 1c271535
...@@ -23,8 +23,8 @@ script: ...@@ -23,8 +23,8 @@ script:
- sudo make PythonInstall - sudo make PythonInstall
- # Run the testInstallation script - # Run the testInstallation script
- python -m simtk.testInstallation - python -m simtk.testInstallation
- # run all of the tests - # run all of the tests, making sure failures at this stage don't cause travis failures
- ctest -j2 -V - ctest -j2 -V || true
- # get a list of all of the failed tests into this stupid ctest format - # 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 - 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 - # 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