blob: 7c1197aea4735219eed593a8f0c13aaff28ddbd2 [file] [log] [blame]
Ben Murdoch086aeea2011-05-13 15:57:08 +01001# Copyright 2011 the V8 project authors. All rights reserved.
Steve Blocka7e24c12009-10-30 11:49:00 +00002# 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
28prefix cctest
29
Steve Block6ded16b2010-05-10 14:33:55 +010030test-api/Bug*: FAIL
31
Ben Murdochb0fe1622011-05-05 13:52:32 +010032
33##############################################################################
Steve Blocka7e24c12009-10-30 11:49:00 +000034# BUG(281): This test fails on some Linuxes.
35test-debug/DebuggerAgent: PASS, (PASS || FAIL) if $system == linux
36
37# BUG(382): Weird test. Can't guarantee that it never times out.
38test-api/ApplyInterruption: PASS || TIMEOUT
39
Ben Murdochb0fe1622011-05-05 13:52:32 +010040# BUG(484): This test which we thought was originally corrected in r5236
41# is re-appearing. Disabled until bug in test is fixed. This only fails
42# when snapshot is on, so I am marking it PASS || FAIL
43test-heap-profiler/HeapSnapshotsDiff: PASS || FAIL
44
Steve Block3ce2e202009-11-05 08:53:23 +000045# These tests always fail. They are here to test test.py. If
46# they don't fail then test.py has failed.
47test-serialize/TestThatAlwaysFails: FAIL
48test-serialize/DependentTestThatAlwaysFails: FAIL
49
Ben Murdochb0fe1622011-05-05 13:52:32 +010050
51##############################################################################
52[ $arch == x64 ]
53
54# Optimization is currently not working on crankshaft x64 and ARM.
55test-heap/TestInternalWeakLists: PASS || FAIL
56test-heap/TestInternalWeakListsTraverseWithGC: PASS || FAIL
57
58
59##############################################################################
Ben Murdoch086aeea2011-05-13 15:57:08 +010060[ $arch == x64 && $crankshaft ]
61
62# Tests that fail with crankshaft.
63test-deoptimization/DeoptimizeBinaryOperationADDString: FAIL
64test-deoptimization/DeoptimizeBinaryOperationADD: FAIL
65test-deoptimization/DeoptimizeBinaryOperationSUB: FAIL
66test-deoptimization/DeoptimizeBinaryOperationMUL: FAIL
67test-deoptimization/DeoptimizeBinaryOperationMOD: FAIL
68test-deoptimization/DeoptimizeBinaryOperationDIV: FAIL
69test-deoptimization/DeoptimizeLoadICStoreIC: FAIL
70test-deoptimization/DeoptimizeLoadICStoreICNested: FAIL
71test-deoptimization/DeoptimizeCompare: FAIL
72
73# Tests that time out with crankshaft.
74test-api/Threading: SKIP
75
76
77##############################################################################
Steve Blocka7e24c12009-10-30 11:49:00 +000078[ $arch == arm ]
79
Ben Murdochb0fe1622011-05-05 13:52:32 +010080# Optimization is currently not working on crankshaft x64 and ARM.
81test-heap/TestInternalWeakLists: PASS || FAIL
82test-heap/TestInternalWeakListsTraverseWithGC: PASS || FAIL
83
Steve Blocka7e24c12009-10-30 11:49:00 +000084# We cannot assume that we can throw OutOfMemory exceptions in all situations.
85# Apparently our ARM box is in such a state. Skip the test as it also runs for
86# a long time.
87test-api/OutOfMemory: SKIP
88test-api/OutOfMemoryNested: SKIP
89
90# BUG(355): Test crashes on ARM.
91test-log/ProfLazyMode: SKIP
Andrei Popescu31002712010-02-23 13:46:05 +000092
Ben Murdochb0fe1622011-05-05 13:52:32 +010093# BUG(945): Socket connect fails on ARM
94test-debug/DebuggerAgentProtocolOverflowHeader: SKIP
95test-sockets/Socket: SKIP
96
97
98##############################################################################
99[ $arch == arm && $crankshaft ]
100
Ben Murdoch086aeea2011-05-13 15:57:08 +0100101# Tests that can fail with crankshaft.
102test-deoptimization/DeoptimizeBinaryOperationMOD: PASS || FAIL
103test-deoptimization/DeoptimizeBinaryOperationDIV: PASS || FAIL
Ben Murdochb0fe1622011-05-05 13:52:32 +0100104
105# Tests that time out with crankshaft.
106test-debug/ThreadedDebugging: SKIP
107test-debug/DebugBreakLoop: SKIP
108
109
110##############################################################################
Andrei Popescu31002712010-02-23 13:46:05 +0000111[ $arch == mips ]
112test-accessors: SKIP
113test-alloc: SKIP
114test-api: SKIP
115test-compiler: SKIP
Steve Block6ded16b2010-05-10 14:33:55 +0100116test-cpu-profiler: SKIP
Andrei Popescu31002712010-02-23 13:46:05 +0000117test-debug: SKIP
118test-decls: SKIP
119test-func-name-inference: SKIP
120test-heap: SKIP
121test-heap-profiler: SKIP
122test-log: SKIP
123test-log-utils: SKIP
124test-mark-compact: SKIP
125test-regexp: SKIP
126test-serialize: SKIP
127test-sockets: SKIP
128test-strings: SKIP
129test-threads: SKIP
130test-thread-termination: SKIP