summaryrefslogtreecommitdiffstats
path: root/test/option
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2012-09-22 19:55:01 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2012-09-22 19:55:01 (GMT)
commit25ba5d089858217d688c726e67b82ef95a2df1dc (patch)
tree4f9213fa484294b889a1b4680c34d1edfbdbdca2 /test/option
parentc6191773561f41cb4ac4e6149aa84603c1185ff9 (diff)
downloadSCons-25ba5d089858217d688c726e67b82ef95a2df1dc.zip
SCons-25ba5d089858217d688c726e67b82ef95a2df1dc.tar.gz
SCons-25ba5d089858217d688c726e67b82ef95a2df1dc.tar.bz2
Merged pull request #38, from eyan: add target name to debug=time
Fixes #2873.
Diffstat (limited to 'test/option')
-rw-r--r--test/option/debug-time.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option/debug-time.py b/test/option/debug-time.py
index e5e289b..198d71d 100644
--- a/test/option/debug-time.py
+++ b/test/option/debug-time.py
@@ -108,7 +108,7 @@ complete_time = time.time() - start_time
expected_total_time = complete_time - overhead
-pattern = r'Command execution time:(.*):(\d+\.\d+) seconds'
+pattern = r'Command execution time: (.*): (\d+\.\d+) seconds'
targets = []
times = []
for target,time in re.findall(pattern, test.stdout()):
@@ -150,7 +150,7 @@ but the various execution times actually totalled %(added_times)s,
outside of the 1%% tolerance.
""" % locals())
-if not within_tolerance(total_time, expected_total_time, 0.15):
+if not within_tolerance(total_time, expected_total_time, 0.20):
# This tolerance check seems empirically to work fine if there's
# a light load on the system, but on a heavily loaded system the
# timings get screwy and it can fail frequently. Some obvious