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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/chromium/chromedriver_buildbot_run.py
diff --git a/scripts/slave/chromium/qa_buildbot_run.py b/scripts/slave/chromium/chromedriver_buildbot_run.py
similarity index 49%
rename from scripts/slave/chromium/qa_buildbot_run.py
rename to scripts/slave/chromium/chromedriver_buildbot_run.py
index d116eeb95456dcd31fccbfae3ddc9e12cddf4a38..d05b44c221f435720d8ded5077794a846a3f304b 100755
--- a/scripts/slave/chromium/qa_buildbot_run.py
+++ b/scripts/slave/chromium/chromedriver_buildbot_run.py
@@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""Entry point for the QA buildbots.
+"""Entry point for the ChromeDriver buildbots.
This script is called from buildbot and reports results using the buildbot
annotation scheme.
@@ -19,20 +19,16 @@ def main():
parser = optparse.OptionParser()
chromium_utils.AddPropertiesOptions(parser)
options, _ = parser.parse_args()
- master_name = options.build_properties.get('mastername')
-
- if master_name == 'chromium.pyauto':
- return chromium_utils.RunCommand(
- [sys.executable,
- '../../../scripts/slave/runtest.py',
- '--build-dir', 'src/build',
- '--run-python-script',
- 'src/chrome/test/chromedriver/run_buildbot_steps.py',
- '--revision',
- options.build_properties.get('got_revision'),
- ])
- else:
- raise RuntimeError('Unrecognized master: ' + master_name)
+
+ return chromium_utils.RunCommand(
+ [sys.executable,
+ '../../../scripts/slave/runtest.py',
+ '--build-dir', 'src/build',
+ '--run-python-script',
+ 'src/chrome/test/chromedriver/run_buildbot_steps.py',
+ '--revision',
+ options.build_properties.get('got_revision'),
+ ])
if __name__ == '__main__':
« 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