[test] Fetch mozilla test data from SVN.
NOTRY=true Review URL: https://codereview.chromium.org/1367933002 Cr-Commit-Position: refs/heads/master@{#30906}
This commit is contained in:
parent
cf38725d0b
commit
8c1742026a
@ -34,11 +34,12 @@ import tarfile
|
|||||||
from testrunner.local import testsuite
|
from testrunner.local import testsuite
|
||||||
from testrunner.objects import testcase
|
from testrunner.objects import testcase
|
||||||
|
|
||||||
|
SVN_SERVER = (
|
||||||
MOZILLA_VERSION = "2010-06-29"
|
"svn://svn.chromium.org/chrome/trunk/deps/third_party/mozilla-tests")
|
||||||
|
MOZILLA_VERSION = "51236"
|
||||||
|
|
||||||
|
|
||||||
EXCLUDED = ["CVS"]
|
EXCLUDED = ["CVS", ".svn"]
|
||||||
|
|
||||||
|
|
||||||
FRAMEWORK = """
|
FRAMEWORK = """
|
||||||
@ -147,9 +148,9 @@ class MozillaTestSuite(testsuite.TestSuite):
|
|||||||
os.chdir(old_cwd)
|
os.chdir(old_cwd)
|
||||||
return
|
return
|
||||||
|
|
||||||
# No cached copy. Check out via CVS, and pack as .tar.gz for later use.
|
# No cached copy. Check out via SVN, and pack as .tar.gz for later use.
|
||||||
command = ("cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot"
|
command = ("svn co -r %s %s mozilla/js/tests" %
|
||||||
" co -D %s mozilla/js/tests" % MOZILLA_VERSION)
|
(MOZILLA_VERSION, SVN_SERVER))
|
||||||
code = subprocess.call(command, shell=True)
|
code = subprocess.call(command, shell=True)
|
||||||
if code != 0:
|
if code != 0:
|
||||||
os.chdir(old_cwd)
|
os.chdir(old_cwd)
|
||||||
|
Loading…
Reference in New Issue
Block a user