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

Side by Side Diff: scripts/slave/chromium/chromedriver_buildbot_run.py

Issue 14767030: Rename PyAuto waterfall to ChromeDriver. (Closed) Base URL: http://git.chromium.org/chromium/tools/build.git@master
Patch Set: rebase Created 7 years, 7 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 | « masters/master.chromium.pyauto/slaves.cfg ('k') | scripts/slave/chromium/qa_buildbot_run.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Entry point for the QA buildbots. 6 """Entry point for the ChromeDriver buildbots.
7 7
8 This script is called from buildbot and reports results using the buildbot 8 This script is called from buildbot and reports results using the buildbot
9 annotation scheme. 9 annotation scheme.
10 """ 10 """
11 11
12 import optparse 12 import optparse
13 import sys 13 import sys
14 14
15 from common import chromium_utils 15 from common import chromium_utils
16 16
17 17
18 def main(): 18 def main():
19 parser = optparse.OptionParser() 19 parser = optparse.OptionParser()
20 chromium_utils.AddPropertiesOptions(parser) 20 chromium_utils.AddPropertiesOptions(parser)
21 options, _ = parser.parse_args() 21 options, _ = parser.parse_args()
22 master_name = options.build_properties.get('mastername')
23 22
24 if master_name == 'chromium.pyauto': 23 return chromium_utils.RunCommand(
25 return chromium_utils.RunCommand( 24 [sys.executable,
26 [sys.executable, 25 '../../../scripts/slave/runtest.py',
27 '../../../scripts/slave/runtest.py', 26 '--build-dir', 'src/build',
28 '--build-dir', 'src/build', 27 '--run-python-script',
29 '--run-python-script', 28 'src/chrome/test/chromedriver/run_buildbot_steps.py',
30 'src/chrome/test/chromedriver/run_buildbot_steps.py', 29 '--revision',
31 '--revision', 30 options.build_properties.get('got_revision'),
32 options.build_properties.get('got_revision'), 31 ])
33 ])
34 else:
35 raise RuntimeError('Unrecognized master: ' + master_name)
36 32
37 33
38 if __name__ == '__main__': 34 if __name__ == '__main__':
39 sys.exit(main()) 35 sys.exit(main())
OLDNEW
« no previous file with comments | « masters/master.chromium.pyauto/slaves.cfg ('k') | scripts/slave/chromium/qa_buildbot_run.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698