Chromium Code Reviews| Index: infra/bots/compile_skia.py |
| diff --git a/infra/bots/compile_skia.py b/infra/bots/compile_skia.py |
| index ca2c7db600b38436128289f0f10ec5533ba127eb..d165a6983825e15e53d738d8fca4384978e988f1 100644 |
| --- a/infra/bots/compile_skia.py |
| +++ b/infra/bots/compile_skia.py |
| @@ -10,6 +10,7 @@ import argparse |
| import common |
| import os |
| import sys |
| +import time |
| def main(): |
| @@ -17,8 +18,10 @@ def main(): |
| parser.add_argument('--builder_name', required=True) |
| parser.add_argument('--swarm_out_dir', required=True) |
| args = parser.parse_args() |
| + print 'Task started at %s UTC' % time.asctime(time.gmtime()) |
| bot = common.BotInfo(args.builder_name, os.path.abspath(args.swarm_out_dir)) |
| bot.compile_steps() |
| + print 'Task finished at %s UTC' % time.asctime(time.gmtime()) |
|
rmistry
2016/03/04 18:20:59
Why not calculate current-time - start-time to mak
borenet
2016/03/04 18:50:01
Done, but I really want both the start and finish
|
| if __name__ == '__main__': |