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

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

Issue 2836403003: Add Xvfb debugging code to run-webkit-tests. (Closed)
Patch Set: Created 3 years, 8 months 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
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 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 stdout.flush() 589 stdout.flush()
590 590
591 _log.debug('Generating dashboard...') 591 _log.debug('Generating dashboard...')
592 gen_dash_board = DashBoardGenerator(port) 592 gen_dash_board = DashBoardGenerator(port)
593 gen_dash_board.generate() 593 gen_dash_board.generate()
594 _log.debug('Dashboard generated.') 594 _log.debug('Dashboard generated.')
595 595
596 _log.debug('') 596 _log.debug('')
597 _log.debug('Testing completed, Exit status: %d', run_details.exit_code) 597 _log.debug('Testing completed, Exit status: %d', run_details.exit_code)
598 598
599 # Temporary process dump for debugging windows timeout issues, see crbug .com/522396.
mithro 2017/04/26 01:57:17 This ideally would be a separate CL.
Dirk Pranke 2017/04/26 02:03:00 Yeah, ideally :).
600 _log.debug('')
601 _log.debug('Process dump:')
602 for process in port.host.executive.process_dump():
603 _log.debug('\t%s', process)
604
605 return run_details 599 return run_details
606 600
607 finally: 601 finally:
608 printer.cleanup() 602 printer.cleanup()
609 603
610 if __name__ == '__main__': 604 if __name__ == '__main__':
611 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) 605 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr)
612 sys.exit(exit_code) 606 sys.exit(exit_code)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698