diff options
author | Edmund Yan <edmundhyan@gmail.com> | 2012-09-18 16:50:35 (GMT) |
---|---|---|
committer | Edmund Yan <edmundhyan@gmail.com> | 2012-09-18 16:50:35 (GMT) |
commit | c6191773561f41cb4ac4e6149aa84603c1185ff9 (patch) | |
tree | ce0fef08aa87cc6e16c388b66b8e48d6cec89248 /src/engine | |
parent | edbb8113bf8737e7bc77a4f23d7fd41a44dca5a6 (diff) | |
download | SCons-c6191773561f41cb4ac4e6149aa84603c1185ff9.zip SCons-c6191773561f41cb4ac4e6149aa84603c1185ff9.tar.gz SCons-c6191773561f41cb4ac4e6149aa84603c1185ff9.tar.bz2 |
Adding target name to output of --debug=time. Fix for Issue 2873
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/Script/Main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Script/Main.py b/src/engine/SCons/Script/Main.py index bcb013e..4607e1d 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: %f seconds\n"%(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]) |