Reviewers: Jakob,

Description:
Update to most recent test262 version.

This also deletes downloaded test data files if their hashes are
incorrect to automatically retry the download on the next run.

[email protected]
TEST=test262


Please review this at https://chromiumcodereview.appspot.com/10080007/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M test/test262/README
  M test/test262/test262.status
  M test/test262/testcfg.py


Index: test/test262/README
diff --git a/test/test262/README b/test/test262/README
index dae18433a57a6e360a4c07c8a050f69a848b71dd..59e7f5eb8bf48e714ae0574cdcd8929408839916 100644
--- a/test/test262/README
+++ b/test/test262/README
@@ -4,11 +4,11 @@ tests from

   http://hg.ecmascript.org/tests/test262

-at revision 309 as 'data' in this directory.  Using later version
+at revision 334 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.

-hg clone -r 309 http://hg.ecmascript.org/tests/test262 data
+hg clone -r 334 http://hg.ecmascript.org/tests/test262 data

 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
Index: test/test262/test262.status
diff --git a/test/test262/test262.status b/test/test262/test262.status
index 3f395bdcd1fa84ccdf76c91c3af1166ef5764863..0a4b2ca1a480668a03c2dfe52907552b8eedec99 100644
--- a/test/test262/test262.status
+++ b/test/test262/test262.status
@@ -33,7 +33,16 @@ def FAIL_OK = FAIL, OKAY
 # '__proto__' should be treated as a normal property in JSON.
 S15.12.2_A1: FAIL

+# Not yet analyzed.
+15.10.4.1-5: FAIL
+15.4.4.4-5-c-i-1: FAIL
+
+# V8 Bug: http://code.google.com/p/v8/issues/detail?id=691
+11.2.3-3_3: FAIL
+
 # V8 Bug: http://code.google.com/p/v8/issues/detail?id=1475
+8.14.4-8-b_1: FAIL
+8.14.4-8-b_2: FAIL
 15.2.3.6-4-405: FAIL
 15.2.3.6-4-410: FAIL
 15.2.3.6-4-415: FAIL
@@ -64,6 +73,9 @@ S7.8.4_A7.2_T3: FAIL_OK
 S7.8.4_A7.2_T4: FAIL_OK
 S7.8.4_A7.2_T5: FAIL_OK
 S7.8.4_A7.2_T6: FAIL_OK
+Sbp_7.8.4_A6.1_T4: FAIL_OK
+Sbp_7.8.4_A6.2_T1: FAIL_OK
+Sbp_7.8.4_A6.2_T2: FAIL_OK

# Linux for ia32 (and therefore simulators) default to extended 80 bit floating # point formats, so these tests checking 64-bit FP precision fail. The other
Index: test/test262/testcfg.py
diff --git a/test/test262/testcfg.py b/test/test262/testcfg.py
index e4a3bdeaaf7d8024765abafb1cc27feac188d7d2..fc03c4d02e56f833487506be9f3c8a18a719ce0a 100644
--- a/test/test262/testcfg.py
+++ b/test/test262/testcfg.py
@@ -34,8 +34,8 @@ import hashlib
 import tarfile


-TEST_262_ARCHIVE_REVISION = '3a890174343c'  # This is the r309 revision.
-TEST_262_ARCHIVE_MD5 = 'be5d4cfbe69cef70430907b8f3a92b50'
+TEST_262_ARCHIVE_REVISION = 'fb327c439e20'  # This is the r334 revision.
+TEST_262_ARCHIVE_MD5 = '307acd166ec34629592f240dc12d57ed'
 TEST_262_URL = 'http://hg.ecmascript.org/tests/test262/archive/%s.tar.bz2'
 TEST_262_HARNESS = ['sta.js']

@@ -114,6 +114,7 @@ class Test262TestConfiguration(test.TestConfiguration):
         for chunk in iter(lambda: f.read(8192), ''):
           md5.update(chunk)
       if md5.hexdigest() != TEST_262_ARCHIVE_MD5:
+        os.remove(archive_name)
         raise Exception("Hash mismatch of test data file")
       archive = tarfile.open(archive_name, 'r:bz2')
       archive.extractall(join(self.root))


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to