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

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

Issue 2312393002: Debug exit code (Closed)
Patch Set: abort instead of int3 Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | 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 30 matching lines...) Expand all
41 from webkitpy.layout_tests.port.factory import configuration_options, platform_o ptions 41 from webkitpy.layout_tests.port.factory import configuration_options, platform_o ptions
42 from webkitpy.layout_tests.views import buildbot_results 42 from webkitpy.layout_tests.views import buildbot_results
43 from webkitpy.layout_tests.views import printing 43 from webkitpy.layout_tests.views import printing
44 from webkitpy.layout_tests.generate_results_dashboard import DashBoardGenerator 44 from webkitpy.layout_tests.generate_results_dashboard import DashBoardGenerator
45 45
46 _log = logging.getLogger(__name__) 46 _log = logging.getLogger(__name__)
47 47
48 48
49 def main(argv, stdout, stderr): 49 def main(argv, stdout, stderr):
50 options, args = parse_args(argv) 50 options, args = parse_args(argv)
51 args = ['harness-tests/crash.html']
51 52
52 if options.platform and 'test' in options.platform and not 'browser_test' in options.platform: 53 if options.platform and 'test' in options.platform and not 'browser_test' in options.platform:
53 # It's a bit lame to import mocks into real code, but this allows the us er 54 # It's a bit lame to import mocks into real code, but this allows the us er
54 # to run tests against the test platform interactively, which is useful for 55 # to run tests against the test platform interactively, which is useful for
55 # debugging test failures. 56 # debugging test failures.
56 from webkitpy.common.host_mock import MockHost 57 from webkitpy.common.host_mock import MockHost
57 host = MockHost() 58 host = MockHost()
58 else: 59 else:
59 host = Host() 60 host = Host()
60 61
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 _log.debug("\t%s", process) 578 _log.debug("\t%s", process)
578 579
579 return run_details 580 return run_details
580 581
581 finally: 582 finally:
582 printer.cleanup() 583 printer.cleanup()
583 584
584 if __name__ == '__main__': 585 if __name__ == '__main__':
585 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) 586 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr)
586 sys.exit(exit_code) 587 sys.exit(exit_code)
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698