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

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

Issue 1846093002: Revert of Remove unused imports in webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 17 matching lines...) Expand all
28 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30
31 import logging 31 import logging
32 import optparse 32 import optparse
33 import os 33 import os
34 import sys 34 import sys
35 import traceback 35 import traceback
36 36
37 from webkitpy.common.host import Host 37 from webkitpy.common.host import Host
38 from webkitpy.common.system.executive import Executive
38 from webkitpy.layout_tests.controllers.manager import Manager 39 from webkitpy.layout_tests.controllers.manager import Manager
39 from webkitpy.layout_tests.models import test_run_results 40 from webkitpy.layout_tests.models import test_run_results
40 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
41 from webkitpy.layout_tests.views import buildbot_results 42 from webkitpy.layout_tests.views import buildbot_results
42 from webkitpy.layout_tests.views import printing 43 from webkitpy.layout_tests.views import printing
43 from webkitpy.layout_tests.generate_results_dashboard import DashBoardGenerator 44 from webkitpy.layout_tests.generate_results_dashboard import DashBoardGenerator
44 45
45 _log = logging.getLogger(__name__) 46 _log = logging.getLogger(__name__)
46 47
47 48
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 _log.debug("\t%s" % process) 572 _log.debug("\t%s" % process)
572 573
573 return run_details 574 return run_details
574 575
575 finally: 576 finally:
576 printer.cleanup() 577 printer.cleanup()
577 578
578 if __name__ == '__main__': 579 if __name__ == '__main__':
579 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) 580 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr)
580 sys.exit(exit_code) 581 sys.exit(exit_code)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698