Revision: 25036
Author: [email protected]
Date: Fri Oct 31 13:39:20 2014 UTC
Log: Upgrade test262-es6
[email protected]
BUG=
Review URL: https://codereview.chromium.org/695763003
https://code.google.com/p/v8/source/detail?r=25036
Modified:
/branches/bleeding_edge/test/test262-es6/README
/branches/bleeding_edge/test/test262-es6/testcfg.py
=======================================
--- /branches/bleeding_edge/test/test262-es6/README Mon Oct 20 12:17:12
2014 UTC
+++ /branches/bleeding_edge/test/test262-es6/README Fri Oct 31 13:39:20
2014 UTC
@@ -4,13 +4,13 @@
https://github.com/tc39/test262
-at hash e2b675f443 (2014/10/15 revision) as 'data' in this directory.
Using later
+at hash 61113db (2014/10/23 revision) as 'data' in this directory. Using
later
version may be possible but the tests are only known to pass (and indeed
run)
with that revision.
git clone https://github.com/tc39/test262 data
cd data
- git checkout e2b675f443
+ git checkout 61113db
If you do update to a newer revision you may have to change the test
harness adapter code since it uses internal functionality from the
=======================================
--- /branches/bleeding_edge/test/test262-es6/testcfg.py Mon Oct 20 12:17:12
2014 UTC
+++ /branches/bleeding_edge/test/test262-es6/testcfg.py Fri Oct 31 13:39:20
2014 UTC
@@ -37,8 +37,8 @@
from testrunner.local import utils
from testrunner.objects import testcase
-TEST_262_ARCHIVE_REVISION = "e2b675f" # This is the 2014-10-15 revision.
-TEST_262_ARCHIVE_MD5 = "98f4427d0c88628561cd1c0104cf0614"
+TEST_262_ARCHIVE_REVISION = "61113db" # This is the 2014-10-23 revision.
+TEST_262_ARCHIVE_MD5 = "261e69b4a97a4bfc18225cf3938daf50"
TEST_262_URL = "https://github.com/tc39/test262/tarball/%s"
TEST_262_HARNESS_FILES = ["sta.js"]
@@ -147,9 +147,11 @@
with open(archive_name, "rb") as f:
for chunk in iter(lambda: f.read(8192), ""):
md5.update(chunk)
+ print "MD5 hash is %s" % md5.hexdigest()
if md5.hexdigest() != TEST_262_ARCHIVE_MD5:
os.remove(archive_name)
- raise Exception("Hash mismatch of test data file")
+ print "MD5 expected %s" % TEST_262_ARCHIVE_MD5
+ raise Exception("MD5 hash mismatch of test data file")
archive = tarfile.open(archive_name, "r:gz")
if sys.platform in ("win32", "cygwin"):
# Magic incantation to allow longer path names on Windows.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.