-# 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 "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
-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
-# rerun all of the failed tests
-if [ -s Testing/Temporary/LastTestsFailed.log ]; then
-if [ -s Testing/Temporary/LastTestsFailed.log ]; then ctest -I FailedTests.log; fi;