diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-09-22 19:55:01 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-09-22 19:55:01 (GMT) |
commit | 25ba5d089858217d688c726e67b82ef95a2df1dc (patch) | |
tree | 4f9213fa484294b889a1b4680c34d1edfbdbdca2 /src | |
parent | c6191773561f41cb4ac4e6149aa84603c1185ff9 (diff) | |
download | SCons-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 'src')
-rw-r--r-- | src/CHANGES.txt | 3 | ||||
-rw-r--r-- | src/engine/SCons/Script/Main.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt index 048068f..a96bc0d 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -6,6 +6,9 @@ RELEASE 2.X.X - + From eyan on Bitbucket: + - Print target name with command execution time with --debug=time + From Thomas Berg and Evgeny Podjachev: - Fix subprocess spawning on Windows. Work around a Windows bug that can crash python occasionally when using -jN. (#2449) diff --git a/src/engine/SCons/Script/Main.py b/src/engine/SCons/Script/Main.py index 4607e1d..2524ab0 100644 --- a/src/engine/SCons/Script/Main.py +++ b/src/engine/SCons/Script/Main.py @@ -187,7 +187,7 @@ class BuildTask(SCons.Taskmaster.OutOfDateTask): finish_time = time.time() last_command_end = finish_time cumulative_command_time = cumulative_command_time+finish_time-start_time - sys.stdout.write("Command execution time:%s:%f seconds\n"%(str(self.node), finish_time-start_time)) + sys.stdout.write("Command execution time: %s: %f seconds\n"%(str(self.node), finish_time-start_time)) def do_failed(self, status=2): _BuildFailures.append(self.exception[1]) |