-# 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
-[[-s FailedTests.log]]&&ctest -I FailedTests.log
-if [ -s FailedTests.log ]; then ctest -I FailedTests.log; fi;