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

Side by Side Diff: chrome/test/chromedriver/run_buildbot_steps.py

Issue 2059143002: "up-to-date" should only use hyphens when used as compound modifier of a noun (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 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 """Runs all the buildbot steps for ChromeDriver except for update/compile.""" 6 """Runs all the buildbot steps for ChromeDriver except for update/compile."""
7 7
8 import bisect 8 import bisect
9 import csv 9 import csv
10 import datetime 10 import datetime
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 348
349 if slave_utils.GSUtilCopy(temp_notes_fname, notes_url, mimetype='text/plain'): 349 if slave_utils.GSUtilCopy(temp_notes_fname, notes_url, mimetype='text/plain'):
350 util.MarkBuildStepError() 350 util.MarkBuildStepError()
351 351
352 352
353 def _MaybeUpdateLatestRelease(version): 353 def _MaybeUpdateLatestRelease(version):
354 """Update the file LATEST_RELEASE with the latest release version number.""" 354 """Update the file LATEST_RELEASE with the latest release version number."""
355 latest_release_fname = 'LATEST_RELEASE' 355 latest_release_fname = 'LATEST_RELEASE'
356 latest_release_url = '%s/%s' % (GS_CHROMEDRIVER_BUCKET, latest_release_fname) 356 latest_release_url = '%s/%s' % (GS_CHROMEDRIVER_BUCKET, latest_release_fname)
357 357
358 # Check if LATEST_RELEASE is up-to-date. 358 # Check if LATEST_RELEASE is up to date.
359 latest_released_version = _GetWebPageContent( 359 latest_released_version = _GetWebPageContent(
360 '%s/%s' % (GS_CHROMEDRIVER_RELEASE_URL, latest_release_fname)) 360 '%s/%s' % (GS_CHROMEDRIVER_RELEASE_URL, latest_release_fname))
361 if version == latest_released_version: 361 if version == latest_released_version:
362 return 362 return
363 363
364 # Check if chromedriver was released on all supported platforms. 364 # Check if chromedriver was released on all supported platforms.
365 supported_platforms = ['linux32', 'linux64', 'mac32', 'win32'] 365 supported_platforms = ['linux32', 'linux64', 'mac32', 'win32']
366 for platform in supported_platforms: 366 for platform in supported_platforms:
367 if not _WasReleased(version, platform): 367 if not _WasReleased(version, platform):
368 return 368 return
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 util.MarkBuildStepStart('run_all_tests.py') 507 util.MarkBuildStepStart('run_all_tests.py')
508 util.MarkBuildStepError() 508 util.MarkBuildStepError()
509 509
510 # Add a "cleanup" step so that errors from runtest.py or bb_device_steps.py 510 # Add a "cleanup" step so that errors from runtest.py or bb_device_steps.py
511 # (which invoke this script) are kept in their own build step. 511 # (which invoke this script) are kept in their own build step.
512 util.MarkBuildStepStart('cleanup') 512 util.MarkBuildStepStart('cleanup')
513 513
514 514
515 if __name__ == '__main__': 515 if __name__ == '__main__':
516 main() 516 main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698