blob: d32f8f30a36f484b0a613e5c833a48bac554b844 [file] [log] [blame]
Steve Block44f0eee2011-05-26 01:26:41 +01001# Copyright 2011 the V8 project authors. All rights reserved.
2# Redistribution and use in source and binary forms, with or without
3# modification, are permitted provided that the following conditions are
4# met:
5#
6# * Redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer.
8# * Redistributions in binary form must reproduce the above
9# copyright notice, this list of conditions and the following
10# disclaimer in the documentation and/or other materials provided
11# with the distribution.
12# * Neither the name of Google Inc. nor the names of its
13# contributors may be used to endorse or promote products derived
14# from this software without specific prior written permission.
15#
16# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
Ben Murdochb8a8cc12014-11-26 15:28:44 +000028[
29[ALWAYS, {
30 ############################### BUGS ###################################
Steve Block44f0eee2011-05-26 01:26:41 +010031
Ben Murdochb8a8cc12014-11-26 15:28:44 +000032 '15.5.4.9_CE': [['no_i18n', SKIP]],
Steve Block44f0eee2011-05-26 01:26:41 +010033
Ben Murdochb8a8cc12014-11-26 15:28:44 +000034 # BUG(v8:3455)
35 '11.2.3_b': [FAIL],
36 '12.2.3_b': [FAIL],
Steve Block44f0eee2011-05-26 01:26:41 +010037
Emily Bernierd0a1eb72015-03-24 16:35:39 -040038 ############################### ES6 ###################################
39 # ES6 allows block-local functions.
40 'Sbp_A1_T1': [PASS, FAIL_OK],
41 'Sbp_A2_T1': [PASS, FAIL_OK],
42 'Sbp_A2_T2': [PASS, FAIL_OK],
43 'Sbp_A3_T1': [PASS, FAIL_OK],
44 'Sbp_A3_T2': [PASS, FAIL_OK],
45 'Sbp_A4_T1': [PASS, FAIL_OK],
46 'Sbp_A4_T2': [PASS, FAIL_OK],
47 'Sbp_A5_T1': [PASS], # Test is broken (strict reference to unbound variable)
48 'Sbp_A5_T2': [PASS, FAIL_OK],
49
50 # Passes in ES6 since {__arr} syntax is parsed as object literal.
51 'S12.1_A4_T2': [PASS, FAIL_OK],
52 'S12.6.4_A15': [PASS, FAIL_OK],
53
Ben Murdochb8a8cc12014-11-26 15:28:44 +000054 ######################## NEEDS INVESTIGATION ###########################
Ben Murdoch3ef787d2012-04-12 10:51:47 +010055
Ben Murdochb8a8cc12014-11-26 15:28:44 +000056 # These test failures are specific to the intl402 suite and need investigation
57 # to be either marked as bugs with issues filed for them or as deliberate
58 # incompatibilities if the test cases turn out to be broken or ambiguous.
59 '6.2.3': [FAIL],
60 '9.2.1_2': [FAIL],
61 '9.2.6_2': [FAIL],
62 '10.1.1_a': [FAIL],
63 '10.1.1_19_c': [PASS, FAIL, NO_VARIANTS],
64 '10.1.2.1_4': [FAIL],
65 '10.2.3_b': [PASS, FAIL],
66 '10.3_a': [FAIL],
67 '11.1.1_17': [PASS, FAIL],
68 '11.1.1_19': [PASS, FAIL],
69 '11.1.1_20_c': [FAIL],
70 '11.1.1_a': [FAIL],
71 '11.1.2.1_4': [FAIL],
72 '11.3.2_FN_2': [PASS, FAIL],
73 '11.3.2_TRF': [PASS, FAIL],
74 '11.3_a': [FAIL],
75 '12.1.1_a': [FAIL],
76 '12.1.2.1_4': [FAIL],
77 '12.3.2_FDT_7_a_iv': [FAIL],
78 '12.3.3': [FAIL],
79 '12.3_a': [FAIL],
80 '15.5.4.9_3': [PASS, FAIL],
Ben Murdoch3ef787d2012-04-12 10:51:47 +010081
Ben Murdochb8a8cc12014-11-26 15:28:44 +000082 ##################### DELIBERATE INCOMPATIBILITIES #####################
Ben Murdoch3ef787d2012-04-12 10:51:47 +010083
Ben Murdochb8a8cc12014-11-26 15:28:44 +000084 'S15.8.2.8_A6': [PASS, FAIL_OK], # Math.exp (less precise with --fast-math)
Ben Murdoch3ef787d2012-04-12 10:51:47 +010085
Ben Murdochb8a8cc12014-11-26 15:28:44 +000086 # Linux for ia32 (and therefore simulators) default to extended 80 bit
87 # floating point formats, so these tests checking 64-bit FP precision fail.
88 # The other platforms/arch's pass these tests.
89 # We follow the other major JS engines by keeping this default.
90 'S8.5_A2.1': [PASS, FAIL_OK],
91 'S8.5_A2.2': [PASS, FAIL_OK],
Ben Murdoch3ef787d2012-04-12 10:51:47 +010092
Ben Murdochb8a8cc12014-11-26 15:28:44 +000093 ############################ INVALID TESTS #############################
Ben Murdoch3ef787d2012-04-12 10:51:47 +010094
Ben Murdochb8a8cc12014-11-26 15:28:44 +000095 # The reference value calculated by Test262 is incorrect if you run these
96 # tests in PST/PDT between first Sunday in March and first Sunday in April.
97 # The DST switch was moved in 2007 whereas Test262 bases the reference value
98 # on 2000. Test262 Bug: https://bugs.ecmascript.org/show_bug.cgi?id=293
99 'S15.9.3.1_A5_T1': [PASS, FAIL_OK],
100 'S15.9.3.1_A5_T2': [PASS, FAIL_OK],
101 'S15.9.3.1_A5_T3': [PASS, FAIL_OK],
102 'S15.9.3.1_A5_T4': [PASS, FAIL_OK],
103 'S15.9.3.1_A5_T5': [PASS, FAIL_OK],
104 'S15.9.3.1_A5_T6': [PASS, FAIL_OK],
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100105
Emily Bernierd0a1eb72015-03-24 16:35:39 -0400106 # ObjectKeys() no longer throws TypeError when passed a primitive value which
107 # is not null or undefined (per ES6).
108 '15.2.3.14-1-1': [FAIL_OK],
109 '15.2.3.14-1-2': [FAIL_OK],
110 '15.2.3.14-1-3': [FAIL_OK],
111
112 # Object.getOwnPropertyNames(O) no longer throws when passed a primitive value.
113 '15.2.3.4-1-4': [FAIL_OK],
114 '15.2.3.4-1-5': [FAIL_OK],
115 '15.2.3.4-1': [FAIL_OK],
116
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000117 ############################ SKIPPED TESTS #############################
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100118
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000119 # These tests take a looong time to run in debug mode.
120 'S15.1.3.1_A2.5_T1': [PASS, ['mode == debug', SKIP]],
121 'S15.1.3.2_A2.5_T1': [PASS, ['mode == debug', SKIP]],
122}], # ALWAYS
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100123
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000124['system == macos', {
125 '11.3.2_TRP': [FAIL],
126 '9.2.5_11_g_ii_2': [FAIL],
127}], # system == macos
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100128
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000129['arch == arm or arch == mipsel or arch == mips or arch == arm64 or arch == mips64el', {
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100130
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000131 # TODO(mstarzinger): Causes stack overflow on simulators due to eager
132 # compilation of parenthesized function literals. Needs investigation.
133 'S13.2.1_A1_T1': [SKIP],
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100134
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000135 # BUG(3251225): Tests that timeout with --nocrankshaft.
136 'S15.1.3.1_A2.4_T1': [SKIP],
137 'S15.1.3.1_A2.5_T1': [SKIP],
138 'S15.1.3.2_A2.4_T1': [SKIP],
139 'S15.1.3.2_A2.5_T1': [SKIP],
140 'S15.1.3.3_A2.3_T1': [SKIP],
141 'S15.1.3.4_A2.3_T1': [SKIP],
142}], # 'arch == arm or arch == mipsel or arch == mips or arch == arm64'
143]