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
parent 4fb992a8
...@@ -4,11 +4,11 @@ tests from ...@@ -4,11 +4,11 @@ tests from
http://hg.ecmascript.org/tests/test262 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) may be possible but the tests are only known to pass (and indeed run)
with that revision. 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 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 harness adapter code since it uses internal functionality from the
......
...@@ -39,6 +39,11 @@ S15.12.2_A1: FAIL ...@@ -39,6 +39,11 @@ S15.12.2_A1: FAIL
# V8 Bug: http://code.google.com/p/v8/issues/detail?id=691 # V8 Bug: http://code.google.com/p/v8/issues/detail?id=691
11.2.3-3_3: FAIL 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 ##################### ##################### DELIBERATE INCOMPATIBILITIES #####################
# This tests precision of Math.tan and Math.sin. The implementation for those # This tests precision of Math.tan and Math.sin. The implementation for those
......
...@@ -36,10 +36,11 @@ from testrunner.local import testsuite ...@@ -36,10 +36,11 @@ from testrunner.local import testsuite
from testrunner.objects import testcase from testrunner.objects import testcase
TEST_262_ARCHIVE_REVISION = "fb327c439e20" # This is the r334 revision. TEST_262_ARCHIVE_REVISION = "53c4ade82d14" # This is the r360 revision.
TEST_262_ARCHIVE_MD5 = "307acd166ec34629592f240dc12d57ed" TEST_262_ARCHIVE_MD5 = "5fa4918b00e5d60e57bdd3c05deaeb0c"
TEST_262_URL = "http://hg.ecmascript.org/tests/test262/archive/%s.tar.bz2" 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): class Test262TestSuite(testsuite.TestSuite):
...@@ -59,6 +60,8 @@ class Test262TestSuite(testsuite.TestSuite): ...@@ -59,6 +60,8 @@ class Test262TestSuite(testsuite.TestSuite):
for dirname, dirs, files in os.walk(self.testroot): for dirname, dirs, files in os.walk(self.testroot):
for dotted in [x for x in dirs if x.startswith(".")]: for dotted in [x for x in dirs if x.startswith(".")]:
dirs.remove(dotted) dirs.remove(dotted)
for skipped in [x for x in dirs if x in TEST_262_SKIP]:
dirs.remove(skipped)
dirs.sort() dirs.sort()
files.sort() files.sort()
for filename in files: for filename in files:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment