Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py

Issue 1430153002: Log when exiting run-webkit-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a finally clause Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (C) 2010 Google Inc. All rights reserved. 1 # Copyright (C) 2010 Google Inc. All rights reserved.
2 # Copyright (C) 2010 Gabor Rapcsanyi (rgabor@inf.u-szeged.hu), University of Sze ged 2 # Copyright (C) 2010 Gabor Rapcsanyi (rgabor@inf.u-szeged.hu), University of Sze ged
3 # Copyright (C) 2011 Apple Inc. All rights reserved. 3 # Copyright (C) 2011 Apple Inc. All rights reserved.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are 6 # modification, are permitted provided that the following conditions are
7 # met: 7 # met:
8 # 8 #
9 # * Redistributions of source code must retain the above copyright 9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer. 10 # notice, this list of conditions and the following disclaimer.
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 _log.debug("Process dump:") 401 _log.debug("Process dump:")
402 for process in Executive().process_dump(): 402 for process in Executive().process_dump():
403 _log.debug("\t%s" % process) 403 _log.debug("\t%s" % process)
404 404
405 return run_details 405 return run_details
406 406
407 finally: 407 finally:
408 printer.cleanup() 408 printer.cleanup()
409 409
410 if __name__ == '__main__': 410 if __name__ == '__main__':
411 sys.exit(main(sys.argv[1:], sys.stdout, sys.stderr)) 411 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr)
412 # Temporary logging to try and diagnose hangs on the Windows bots.
413 if 'win_chromium_rel_ng' in sys.argv:
414 print "Exiting with exit code: %d" % exit_code # pylint: disable=E1601
415
416 try:
417 sys.exit(exit_code)
418 finally:
419 # Temporary logging to try and diagnose hangs on the Windows bots.
420 if 'win_chromium_rel_ng' in sys.argv:
421 print "sys.exit completed" # pylint: disable=E1601
Dirk Pranke 2015/11/05 22:42:31 interesting. I wouldn't have thought the finally b
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698