From 0ac10fbc1e9275a48304f64c3bb3adba4d02e876 Mon Sep 17 00:00:00 2001 From: Bryan Herman Date: Tue, 8 Apr 2014 15:30:16 -0400 Subject: [PATCH] added better regex for log file --- tests/run_nightly_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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