added better regex for log file

This commit is contained in:
Bryan Herman 2014-04-08 15:30:16 -04:00
parent 3e060d5793
commit 0ac10fbc1e

View file

@ -281,7 +281,7 @@ for key in iter(tests):
test.run_ctest()
# Copy over log file
logfile = glob.glob('build/Testing/Temporary/LastTest*.log')
logfile = glob.glob('build/Testing/Temporary/LastTest_*.log')
shutil.copy(logfile[0], 'LastTest_{0}.log'.format(test.name))
# Clear build directory