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

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

Issue 1847613002: 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
39 from webkitpy.layout_tests.controllers.manager import Manager 38 from webkitpy.layout_tests.controllers.manager import Manager
40 from webkitpy.layout_tests.models import test_run_results 39 from webkitpy.layout_tests.models import test_run_results
41 from webkitpy.layout_tests.port.factory import configuration_options, platform_o ptions 40 from webkitpy.layout_tests.port.factory import configuration_options, platform_o ptions
42 from webkitpy.layout_tests.views import buildbot_results 41 from webkitpy.layout_tests.views import buildbot_results
43 from webkitpy.layout_tests.views import printing 42 from webkitpy.layout_tests.views import printing
44 from webkitpy.layout_tests.generate_results_dashboard import DashBoardGenerator 43 from webkitpy.layout_tests.generate_results_dashboard import DashBoardGenerator
45 44
46 _log = logging.getLogger(__name__) 45 _log = logging.getLogger(__name__)
47 46
48 47
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 _log.debug("\t%s" % process) 571 _log.debug("\t%s" % process)
573 572
574 return run_details 573 return run_details
575 574
576 finally: 575 finally:
577 printer.cleanup() 576 printer.cleanup()
578 577
579 if __name__ == '__main__': 578 if __name__ == '__main__':
580 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) 579 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr)
581 sys.exit(exit_code) 580 sys.exit(exit_code)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698