OLD | NEW |
---|---|
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 Loading... | |
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
| |
OLD | NEW |