diff --git a/tests/run_nightly_tests.py b/tests/run_nightly_tests.py index 6121856425..7fe8b8199f 100755 --- a/tests/run_nightly_tests.py +++ b/tests/run_nightly_tests.py @@ -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