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

Side by Side Diff: Tools/Scripts/webkitpy/tool/commands/flakytests.py

Issue 27055003: Remove a bunch of unused webkitpy code from tool/, common/checkout/ and common/config/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 Google Inc. All rights reserved. 1 # Copyright (c) 2011 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 16 matching lines...) Expand all
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 28
29 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand 29 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand
30 from webkitpy.layout_tests.layout_package.bot_test_expectations import BotTestEx pectationsFactory 30 from webkitpy.layout_tests.layout_package.bot_test_expectations import BotTestEx pectationsFactory
31 from webkitpy.layout_tests.models.test_expectations import TestExpectationParser , TestExpectationsModel, TestExpectations 31 from webkitpy.layout_tests.models.test_expectations import TestExpectationParser , TestExpectationsModel, TestExpectations
32 32
33 33
34 class FlakyTests(AbstractDeclarativeCommand): 34 class FlakyTests(AbstractDeclarativeCommand):
35 name = "flaky-tests" 35 name = "flaky-tests"
36 help_text = "Generate FlakyTests file from the flakiness dashboard" 36 help_text = "Generate FlakyTests file from the flakiness dashboard"
37 show_in_main_help = True
37 38
38 def execute(self, options, args, tool): 39 def execute(self, options, args, tool):
39 port = tool.port_factory.get() 40 port = tool.port_factory.get()
40 full_port_name = port.determine_full_port_name(tool, options, port.port_ name) 41 full_port_name = port.determine_full_port_name(tool, options, port.port_ name)
41 expectations = BotTestExpectationsFactory().expectations_for_port(full_p ort_name) 42 expectations = BotTestExpectationsFactory().expectations_for_port(full_p ort_name)
42 print TestExpectations.list_to_string(expectations.expectation_lines()) 43 print TestExpectations.list_to_string(expectations.expectation_lines())
OLDNEW
« no previous file with comments | « Tools/Scripts/webkitpy/tool/commands/download_unittest.py ('k') | Tools/Scripts/webkitpy/tool/commands/gardenomatic.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698