-# run all of the tests, making sure failures at this stage don't cause travis failures
-ctest -j2 -V || true
-ctest -j2 || 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
-python -c "import os; fn = os.path.join('Testing', 'Temporary', 'LastTestsFailed.log'); 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
-ctest || exit 0
-python -c "import os; fn = os.path.join('Testing', 'Temporary', 'LastTestsFailed.log'); os.path.exists(fn) or exit(0); failed = [line.split(':')[0] for line in open(fn)]; print(','.join(x+','+x for x in failed))" > FailedTests.log
-ps:>
If (Test-Path "FailedTests.log") {
ctest -V -I FailedTests.log
If (Test-Path "Testing\\Temporary\\LastTestsFailed.log") {