Commit c987661e authored by rossberg@chromium.org's avatar rossberg@chromium.org

Activate --harmony switch on test262-es6

R=dslomov@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23361 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d90290bd
......@@ -38,51 +38,7 @@
'11.2.3_b': [FAIL],
'12.2.3_b': [FAIL],
###################### NEEDS INVESTIGATION (2014) #######################
# Cause unknown.
'bug_596_1': [FAIL],
# New ES6 Array functions.
'S22.1.2.1_T1': [FAIL],
'S22.1.2.1_T2': [FAIL],
'S22.1.2.3_T1': [FAIL],
'S22.1.2.3_T2': [FAIL],
'S22.1.3.6_T1': [FAIL],
# New ES6 function String.prototype.contains, unimplemented in v8.
'String.prototype.contains_FailBadLocation': [FAIL],
'String.prototype.contains_FailLocation': [FAIL],
'String.prototype.contains_FailMissingLetter': [FAIL],
'String.prototype.contains_Success': [FAIL],
'String.prototype.contains_SuccessNoLocation': [FAIL],
'String.prototype.contains_lengthProp': [FAIL],
# New ES6 function String.prototype.endsWith, unimplemented in v8.
'String.prototype.endsWith_Fail': [FAIL],
'String.prototype.endsWith_Fail_2': [FAIL],
'String.prototype.endsWith_Success': [FAIL],
'String.prototype.endsWith_Success_2': [FAIL],
'String.prototype.endsWith_Success_3': [FAIL],
'String.prototype.endsWith_Success_4': [FAIL],
# New ES6 function Array.prototype.find, unimplemented in v8.
'Array.prototype.find_callable-predicate': [FAIL],
'Array.prototype.find_empty-array-undefined': [FAIL],
'Array.prototype.find_length-property': [FAIL],
'Array.prototype.find_modify-after-start': [FAIL],
'Array.prototype.find_non-returning-predicate': [FAIL],
'Array.prototype.find_predicate-arguments': [FAIL],
'Array.prototype.find_push-after-start': [FAIL],
'Array.prototype.find_remove-after-start': [FAIL],
'Array.prototype.find_return-found-value': [FAIL],
'Array.prototype.find_skip-empty': [FAIL],
'Array.prototype.find_this-defined': [FAIL],
'Array.prototype.find_this-is-object': [FAIL],
'Array.prototype.find_this-undefined': [FAIL],
# This negative test fails for the wrong reason.
#'Array.prototype.find_noncallable-predicate': [FAIL],
###################### NEEDS INVESTIGATION #######################
# Possibly same cause as S8.5_A2.1, below: floating-point tests.
'S15.8.2.16_A7': [PASS, FAIL_OK],
......@@ -94,6 +50,40 @@
# https://code.google.com/p/v8/issues/detail?id=705
'12.6.4-2': [PASS, FAIL_OK],
###################### MISSING ES6 FEATURES #######################
# Array.from
'S22.1.2.1_T1': [FAIL],
'S22.1.2.1_T2': [FAIL],
# Direct proxies
'Array.prototype.find_callable-predicate': [FAIL],
######################## OBSOLETED BY ES6 ###########################
# ES6 allows duplicate properties
# TODO(arv): Reactivate when check removal has relanded.
# '11.1.5-4-4-a-1-s': [FAIL],
# '11.1.5_4-4-b-1': [FAIL],
# '11.1.5_4-4-b-2': [FAIL],
# '11.1.5_4-4-c-1': [FAIL],
# '11.1.5_4-4-c-2': [FAIL],
# '11.1.5_4-4-d-1': [FAIL],
# '11.1.5_4-4-d-2': [FAIL],
# '11.1.5_4-4-d-3': [FAIL],
# '11.1.5_4-4-d-4': [FAIL],
# ES6 allows block-local functions.
'Sbp_A1_T1': [FAIL],
'Sbp_A2_T1': [FAIL],
'Sbp_A2_T2': [FAIL],
'Sbp_A3_T1': [FAIL],
'Sbp_A3_T2': [FAIL],
'Sbp_A4_T1': [FAIL],
'Sbp_A4_T2': [FAIL],
'Sbp_A5_T1': [PASS], # Test is broken (strict reference to unbound variable)
'Sbp_A5_T2': [FAIL],
######################## NEEDS INVESTIGATION ###########################
# These test failures are specific to the intl402 suite and need investigation
......@@ -133,17 +123,6 @@
'S8.5_A2.1': [PASS, FAIL_OK],
'S8.5_A2.2': [PASS, FAIL_OK],
# ES6 allows duplicate properties
'11.1.5-4-4-a-1-s': [FAIL],
'11.1.5_4-4-b-1': [FAIL],
'11.1.5_4-4-b-2': [FAIL],
'11.1.5_4-4-c-1': [FAIL],
'11.1.5_4-4-c-2': [FAIL],
'11.1.5_4-4-d-1': [FAIL],
'11.1.5_4-4-d-2': [FAIL],
'11.1.5_4-4-d-3': [FAIL],
'11.1.5_4-4-d-4': [FAIL],
############################ INVALID TESTS #############################
# The reference value calculated by Test262 is incorrect if you run these
......@@ -157,6 +136,10 @@
'S15.9.3.1_A5_T5': [PASS, FAIL_OK],
'S15.9.3.1_A5_T6': [PASS, FAIL_OK],
# Test makes unjustified assumptions about the number of calls to SortCompare.
# Test262 Bug: https://bugs.ecmascript.org/show_bug.cgi?id=596
'bug_596_1': [PASS, FAIL_OK],
############################ SKIPPED TESTS #############################
# These tests take a looong time to run in debug mode.
......
......@@ -79,7 +79,7 @@ class Test262TestSuite(testsuite.TestSuite):
def GetFlagsForTestCase(self, testcase, context):
return (testcase.flags + context.mode_flags + self.harness +
self.GetIncludesForTest(testcase) +
self.GetIncludesForTest(testcase) + ["--harmony"] +
[os.path.join(self.testroot, testcase.path + ".js")])
def LoadParseTestRecord(self):
......
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