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. R=jkummerow@chromium.org TEST=test262 Review URL: https://chromiumcodereview.appspot.com/10080007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11322 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
0e80df8fa8
commit
d2c166c7f7
@ -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
|
||||
|
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user