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

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

Issue 13827002: [chromedriver] Run tests against 27. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable a failed test on Win7. Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/test/chromedriver/run_all_tests.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 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 """Downloads items from the Chromium continuous archive.""" 5 """Downloads items from the Chromium continuous archive."""
6 6
7 import os 7 import os
8 import sys 8 import sys
9 import urllib 9 import urllib
10 10
11 _THIS_DIR = os.path.abspath(os.path.dirname(__file__)) 11 _THIS_DIR = os.path.abspath(os.path.dirname(__file__))
12 sys.path.insert(0, os.path.join(_THIS_DIR, os.pardir, 'pylib')) 12 sys.path.insert(0, os.path.join(_THIS_DIR, os.pardir, 'pylib'))
13 13
14 from common import util 14 from common import util
15 15
16 CHROME_26_REVISION = '181664' 16 CHROME_26_REVISION = '181664'
17 CHROME_27_REVISION = '190466'
17 18
18 _SITE = 'http://commondatastorage.googleapis.com/chromium-browser-continuous' 19 _SITE = 'http://commondatastorage.googleapis.com/chromium-browser-continuous'
19 20
20 21
21 def GetLatestRevision(): 22 def GetLatestRevision():
22 """Returns the latest revision (as a string) available for this platform.""" 23 """Returns the latest revision (as a string) available for this platform."""
23 url = _SITE + '/%s/LAST_CHANGE' 24 url = _SITE + '/%s/LAST_CHANGE'
24 return urllib.urlopen(url % _GetDownloadPlatform()).read() 25 return urllib.urlopen(url % _GetDownloadPlatform()).read()
25 26
26 27
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 60
60 61
61 def _GetDownloadPlatform(): 62 def _GetDownloadPlatform():
62 """Returns the name for this platform on the archive site.""" 63 """Returns the name for this platform on the archive site."""
63 if util.IsWindows(): 64 if util.IsWindows():
64 return 'Win' 65 return 'Win'
65 elif util.IsMac(): 66 elif util.IsMac():
66 return 'Mac' 67 return 'Mac'
67 elif util.IsLinux(): 68 elif util.IsLinux():
68 return 'Linux_x64' 69 return 'Linux_x64'
OLDNEW
« no previous file with comments | « no previous file | chrome/test/chromedriver/run_all_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698