Update Test262 harness to recent version.

R=rossberg@chromium.org
TEST=test262

Review URL: https://codereview.chromium.org/11308033

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12968 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mstarzinger@chromium.org 2012-11-15 11:41:27 +00:00
parent 4fb992a872
commit 50e975574b
3 changed files with 13 additions and 5 deletions

View File

@ -4,11 +4,11 @@ tests from
http://hg.ecmascript.org/tests/test262
at revision 334 as 'data' in this directory. Using later version
at revision 360 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 334 http://hg.ecmascript.org/tests/test262 data
hg clone -r 360 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

View File

@ -39,6 +39,11 @@ S15.12.2_A1: FAIL
# V8 Bug: http://code.google.com/p/v8/issues/detail?id=691
11.2.3-3_3: FAIL
# Strings that are considered canonically equivalent by the Unicode standard
# return a non-zero value on String.prototype.localeCompare calls.
# V8 Bug: http://code.google.com/p/v8/issues/detail?id=2413
15.5.4.9_CE: FAIL
##################### DELIBERATE INCOMPATIBILITIES #####################
# This tests precision of Math.tan and Math.sin. The implementation for those

View File

@ -36,10 +36,11 @@ from testrunner.local import testsuite
from testrunner.objects import testcase
TEST_262_ARCHIVE_REVISION = "fb327c439e20" # This is the r334 revision.
TEST_262_ARCHIVE_MD5 = "307acd166ec34629592f240dc12d57ed"
TEST_262_ARCHIVE_REVISION = "53c4ade82d14" # This is the r360 revision.
TEST_262_ARCHIVE_MD5 = "5fa4918b00e5d60e57bdd3c05deaeb0c"
TEST_262_URL = "http://hg.ecmascript.org/tests/test262/archive/%s.tar.bz2"
TEST_262_HARNESS = ["sta.js"]
TEST_262_HARNESS = ["sta.js", "testBuiltInObject.js"]
TEST_262_SKIP = ["intl402"]
class Test262TestSuite(testsuite.TestSuite):
@ -59,6 +60,8 @@ class Test262TestSuite(testsuite.TestSuite):
for dirname, dirs, files in os.walk(self.testroot):
for dotted in [x for x in dirs if x.startswith(".")]:
dirs.remove(dotted)
for skipped in [x for x in dirs if x in TEST_262_SKIP]:
dirs.remove(skipped)
dirs.sort()
files.sort()
for filename in files: