blob: 2f4b77fdfec3d0726adda8c4bd345a5732b1ea5c [file] [log] [blame]
fschneider@chromium.org7979bbb2011-03-28 10:47:03 +00001# 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
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +000028prefix test262
29def FAIL_OK = FAIL, OKAY
fschneider@chromium.org7979bbb2011-03-28 10:47:03 +000030
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +000031############################### BUGS ###################################
fschneider@chromium.org7979bbb2011-03-28 10:47:03 +000032
yangguo@chromium.orgefdb9d72012-04-26 08:21:05 +000033# Sequencing of getter side effects on receiver and argument properties
34# is wrong. The receiver callback should be called before any arguments
35# are evaluated.
erik.corry@gmail.comed49e962012-04-17 11:57:53 +000036# V8 Bug: http://code.google.com/p/v8/issues/detail?id=691
3711.2.3-3_3: FAIL
38
machenbach@chromium.org528ce022013-09-23 14:09:36 +00003915.5.4.9_CE: SKIP if $no_i18n
40
41######################## NEEDS INVESTIGATION ###########################
42
43# These test failures are specific to the intl402 suite and need investigation
44# to be either marked as bugs with issues filed for them or as deliberate
45# incompatibilities if the test cases turn out to be broken or ambiguous.
466.2.3: FAIL
479.2.1_2: FAIL
489.2.5_11_g_ii_2: FAIL
499.2.6_2: FAIL
5010.1.1_a: FAIL
5110.1.1_19_c: PASS || FAIL
5210.1.2.1_4: FAIL
5310.2.3_b: PASS || FAIL
5410.3_a: FAIL
5511.1.1_17: PASS || FAIL
5611.1.1_19: PASS || FAIL
5711.1.1_20_c: FAIL
5811.1.1_a: FAIL
5911.1.2.1_4: FAIL
6011.3.2_FN_2: PASS || FAIL
6111.3.2_TRF: PASS || FAIL
6211.3.2_TRP: FAIL
6311.3_a: FAIL
6412.1.1_a: FAIL
6512.1.2.1_4: FAIL
6612.3.2_FDT_7_a_iv: FAIL
6712.3.3: FAIL
6812.3_a: FAIL
6915.5.4.9_3: PASS || FAIL
yangguo@chromium.orgfb377212012-11-16 14:43:43 +000070
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +000071##################### DELIBERATE INCOMPATIBILITIES #####################
72
danno@chromium.org1f34ad32012-11-26 14:53:56 +000073# This tests precision of Math functions. The implementation for those
ulan@chromium.org812308e2012-02-29 15:58:45 +000074# trigonometric functions are platform/compiler dependent. Furthermore, the
75# expectation values by far deviates from the actual result given by an
76# arbitrary-precision calculator, making those tests partly bogus.
danno@chromium.org1f34ad32012-11-26 14:53:56 +000077S15.8.2.8_A6: PASS || FAIL_OK # Math.exp (less precise with --fast-math)
78S15.8.2.16_A7: PASS || FAIL_OK # Math.sin
79S15.8.2.18_A7: PASS || FAIL_OK # Math.tan
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +000080
fschneider@chromium.org7d10be52012-04-10 12:30:14 +000081# Linux for ia32 (and therefore simulators) default to extended 80 bit floating
82# point formats, so these tests checking 64-bit FP precision fail. The other
83# platforms/arch's pass these tests.
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +000084# We follow the other major JS engines by keeping this default.
fschneider@chromium.org7d10be52012-04-10 12:30:14 +000085S8.5_A2.1: PASS || FAIL_OK
86S8.5_A2.2: PASS || FAIL_OK
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +000087
jkummerow@chromium.org531dfe82012-03-20 13:01:16 +000088############################ INVALID TESTS #############################
89
90# The reference value calculated by Test262 is incorrect if you run these tests
91# in PST/PDT between first Sunday in March and first Sunday in April. The DST
92# switch was moved in 2007 whereas Test262 bases the reference value on 2000.
93# Test262 Bug: https://bugs.ecmascript.org/show_bug.cgi?id=293
94S15.9.3.1_A5_T1: PASS || FAIL_OK
95S15.9.3.1_A5_T2: PASS || FAIL_OK
96S15.9.3.1_A5_T3: PASS || FAIL_OK
97S15.9.3.1_A5_T4: PASS || FAIL_OK
98S15.9.3.1_A5_T5: PASS || FAIL_OK
99S15.9.3.1_A5_T6: PASS || FAIL_OK
100
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +0000101############################ SKIPPED TESTS #############################
102
103# These tests take a looong time to run in debug mode.
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +0000104S15.1.3.1_A2.5_T1: PASS, SKIP if $mode == debug
yangguo@chromium.org99aa4902012-07-06 16:21:55 +0000105S15.1.3.2_A2.5_T1: PASS, SKIP if $mode == debug
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +0000106
rossberg@chromium.org657d53b2012-07-12 11:06:03 +0000107[ $arch == arm || $arch == mipsel ]
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +0000108
mstarzinger@chromium.org471f2f12012-08-10 14:46:33 +0000109# TODO(mstarzinger): Causes stack overflow on simulators due to eager
110# compilation of parenthesized function literals. Needs investigation.
111S13.2.1_A1_T1: SKIP
112
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +0000113# BUG(3251225): Tests that timeout with --nocrankshaft.
svenpanne@chromium.orga8bb4d92011-10-10 13:20:40 +0000114S15.1.3.1_A2.4_T1: SKIP
115S15.1.3.1_A2.5_T1: SKIP
116S15.1.3.2_A2.4_T1: SKIP
117S15.1.3.2_A2.5_T1: SKIP
118S15.1.3.3_A2.3_T1: SKIP
119S15.1.3.4_A2.3_T1: SKIP