Commit 4f2fb383 authored by arv's avatar arv Committed by Commit bot

[es6] Update test262 tests

This updates test262 to revision d24fd10 (2015/03/11).

The files moved around in the test repo and a lot of new tests are
failing.

BUG=None
LOG=N
R=rossberg

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

Cr-Commit-Position: refs/heads/master@{#27522}
parent 55a64bf7
......@@ -4,13 +4,13 @@ tests from
https://github.com/tc39/test262
at hash 61113db (2014/10/23 revision) as 'data' in this directory. Using later
at hash d24fd10 (2015/03/11 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 61113db
git checkout d24fd10
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
......
This diff is collapsed.
......@@ -37,13 +37,13 @@ from testrunner.local import testsuite
from testrunner.local import utils
from testrunner.objects import testcase
TEST_262_ARCHIVE_REVISION = "61113db" # This is the 2014-10-23 revision.
TEST_262_ARCHIVE_MD5 = "261e69b4a97a4bfc18225cf3938daf50"
TEST_262_ARCHIVE_REVISION = "d24fd10" # This is the 2015-03-11 revision.
TEST_262_ARCHIVE_MD5 = "96230f61d6e5dfac5c0e69f3acd74dee"
TEST_262_URL = "https://github.com/tc39/test262/tarball/%s"
TEST_262_HARNESS_FILES = ["sta.js"]
TEST_262_HARNESS_FILES = ["sta.js", "assert.js"]
TEST_262_SUITE_PATH = ["data", "test", "suite"]
TEST_262_HARNESS_PATH = ["data", "test", "harness"]
TEST_262_SUITE_PATH = ["data", "test"]
TEST_262_HARNESS_PATH = ["data", "harness"]
TEST_262_TOOLS_PATH = ["data", "tools", "packaging"]
class Test262TestSuite(testsuite.TestSuite):
......
......@@ -106,7 +106,7 @@ def _AddOutcome(result, new):
def _ParseOutcomeList(rule, outcomes, target_dict, variables):
result = set([])
if type(outcomes) == str:
outcomes = [outcomes]
outcomes = [outcomes]
for item in outcomes:
if type(item) == str:
_AddOutcome(result, item)
......
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