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

Unified Diff: chrome/test/chromedriver/run_buildbot_steps.py

Issue 24162008: [chromedriver] Rename chromedriver2 target names to remove '2'. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « chrome/test/chromedriver/README.txt ('k') | chrome/test/chromedriver/test/run_all_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/run_buildbot_steps.py
diff --git a/chrome/test/chromedriver/run_buildbot_steps.py b/chrome/test/chromedriver/run_buildbot_steps.py
index ddc05fdc5cd71ae364c9d24a8f858f0a4d70583a..d4df33e821a740ba0174ea08ba446ffddbb37ff8 100755
--- a/chrome/test/chromedriver/run_buildbot_steps.py
+++ b/chrome/test/chromedriver/run_buildbot_steps.py
@@ -28,7 +28,7 @@ import util
_THIS_DIR = os.path.abspath(os.path.dirname(__file__))
GS_ARCHIVE_BUCKET = 'gs://chromedriver-prebuilts'
-GS_ZIP_PREFIX = 'chromedriver2_prebuilts'
+GS_ZIP_PREFIX = 'chromedriver_prebuilts'
GS_RC_BUCKET = 'gs://chromedriver-rc'
GS_RELEASE_PATH = GS_RC_BUCKET + '/releases'
RC_LOG_FORMAT = '%s_log.json'
@@ -50,8 +50,8 @@ from slave import slave_utils
def ArchivePrebuilts(revision):
"""Uploads the prebuilts to google storage."""
util.MarkBuildStepStart('archive')
- prebuilts = ['chromedriver2_server',
- 'chromedriver2_unittests', 'chromedriver2_tests']
+ prebuilts = ['chromedriver',
+ 'chromedriver_unittests', 'chromedriver_tests']
build_dir = chrome_paths.GetBuildDir(prebuilts[0:1])
zip_name = '%s_r%s.zip' % (GS_ZIP_PREFIX, revision)
temp_dir = util.MakeTempDir()
@@ -70,7 +70,7 @@ def DownloadPrebuilts():
util.MarkBuildStepStart('Download chromedriver prebuilts')
temp_dir = util.MakeTempDir()
- zip_path = os.path.join(temp_dir, 'chromedriver2_prebuilts.zip')
+ zip_path = os.path.join(temp_dir, 'chromedriver_prebuilts.zip')
if gsutil_download.DownloadLatestFile(GS_ARCHIVE_BUCKET, GS_ZIP_PREFIX,
zip_path):
util.MarkBuildStepError()
@@ -81,7 +81,7 @@ def DownloadPrebuilts():
f.extractall(build_dir)
f.close()
# Workaround for Python bug: http://bugs.python.org/issue15795
- os.chmod(os.path.join(build_dir, 'chromedriver2_server'), 0700)
+ os.chmod(os.path.join(build_dir, 'chromedriver'), 0700)
def GetDownloads():
@@ -275,13 +275,10 @@ def _ConstructReleaseCandidate(platform, revision):
"""Constructs a release candidate zip from the current build."""
zip_name = RC_ZIP_FORMAT % (platform, GetVersion(), revision)
if util.IsWindows():
- server_orig_name = 'chromedriver2_server.exe'
server_name = 'chromedriver.exe'
else:
- server_orig_name = 'chromedriver2_server'
server_name = 'chromedriver'
- server = os.path.join(chrome_paths.GetBuildDir([server_orig_name]),
- server_orig_name)
+ server = os.path.join(chrome_paths.GetBuildDir([server_name]), server_name)
print 'Zipping ChromeDriver server', server
temp_dir = util.MakeTempDir()
« no previous file with comments | « chrome/test/chromedriver/README.txt ('k') | chrome/test/chromedriver/test/run_all_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698