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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl.py

Issue 2496063002: Rename WebKitFinder -> BlinkFinder. (Closed)
Patch Set: Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """A command to fetch new baselines from try jobs for a Rietveld issue. 5 """A command to fetch new baselines from try jobs for a Rietveld issue.
6 6
7 This command interacts with the Rietveld API to get information about try jobs 7 This command interacts with the Rietveld API to get information about try jobs
8 with layout test results. 8 with layout test results.
9 """ 9 """
10 10
11 import json 11 import json
12 import logging 12 import logging
13 import optparse 13 import optparse
14 14
15 from webkitpy.common.net.rietveld import Rietveld 15 from webkitpy.common.net.rietveld import Rietveld
16 from webkitpy.common.net.web import Web 16 from webkitpy.common.net.web import Web
17 from webkitpy.common.net.git_cl import GitCL 17 from webkitpy.common.net.git_cl import GitCL
18 from webkitpy.common.webkit_finder import WebKitFinder
19 from webkitpy.layout_tests.models.test_expectations import BASELINE_SUFFIX_LIST 18 from webkitpy.layout_tests.models.test_expectations import BASELINE_SUFFIX_LIST
20 from webkitpy.tool.commands.rebaseline import AbstractParallelRebaselineCommand 19 from webkitpy.tool.commands.rebaseline import AbstractParallelRebaselineCommand
21 20
22 _log = logging.getLogger(__name__) 21 _log = logging.getLogger(__name__)
23 22
24 23
25 class RebaselineCL(AbstractParallelRebaselineCommand): 24 class RebaselineCL(AbstractParallelRebaselineCommand):
26 name = "rebaseline-cl" 25 name = "rebaseline-cl"
27 help_text = "Fetches new baselines for a CL from test runs on try bots." 26 help_text = "Fetches new baselines for a CL from test runs on try bots."
28 long_help = ("By default, this command will check the latest try job results " 27 long_help = ("By default, this command will check the latest try job results "
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 def _log_test_prefix_list(test_prefix_list): 220 def _log_test_prefix_list(test_prefix_list):
222 """Logs the tests to download new baselines for.""" 221 """Logs the tests to download new baselines for."""
223 if not test_prefix_list: 222 if not test_prefix_list:
224 _log.info('No tests to rebaseline; exiting.') 223 _log.info('No tests to rebaseline; exiting.')
225 return 224 return
226 _log.debug('Tests to rebaseline:') 225 _log.debug('Tests to rebaseline:')
227 for test, builds in test_prefix_list.iteritems(): 226 for test, builds in test_prefix_list.iteritems():
228 _log.debug(' %s:', test) 227 _log.debug(' %s:', test)
229 for build in sorted(builds): 228 for build in sorted(builds):
230 _log.debug(' %s', build) 229 _log.debug(' %s', build)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698