Commit 4ad1af2a authored by Robert McGibbon's avatar Robert McGibbon
Browse files

minor changes

parent 17cbd4c2
...@@ -15,11 +15,11 @@ script: ...@@ -15,11 +15,11 @@ script:
- make install - make install
- sudo make PythonInstall - sudo make PythonInstall
- # run all of the tests - # run all of the tests
- ctest -V - ctest -V || echo "Something failed the first time around..."
- # 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
- if [ -s FailedTests.log ]; then ctest -I FailedTests.log; fi; - if [ -s FailedTests.log ]; then ctest -V -I FailedTests.log; fi;
- # run the python tests too - # run the python tests too
- cd python/tests - cd python/tests
- nosetests -vv - nosetests -vv
File mode changed from 100755 to 100644
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