blob: cc5414da27364e4955eaf8abd8f48de8f65121a3 [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
Ben Murdochb8a8cc12014-11-26 15:28:44 +000028[
29[ALWAYS, {
30 # All tests prefixed with 'Bug' are expected to fail.
31 'test-api/Bug*': [FAIL],
Emily Bernierd0a1eb72015-03-24 16:35:39 -040032 'test-serialize/Bug*': [FAIL],
Steve Blocka7e24c12009-10-30 11:49:00 +000033
Ben Murdochb8a8cc12014-11-26 15:28:44 +000034 ##############################################################################
35
36 # BUG(382): Weird test. Can't guarantee that it never times out.
37 'test-api/ApplyInterruption': [PASS, TIMEOUT],
38
39 # These tests always fail. They are here to test test.py. If
40 # they don't fail then test.py has failed.
41 'test-serialize/TestThatAlwaysFails': [FAIL],
42 'test-serialize/DependentTestThatAlwaysFails': [FAIL],
43
44 # This test always fails. It tests that LiveEdit causes abort when turned off.
45 'test-debug/LiveEditDisabled': [FAIL],
46
47 # This test always fails. It tests that DisallowJavascriptExecutionScope
48 # works as intended.
49 'test-api/DisallowJavascriptExecutionScope': [FAIL],
50
51 # TODO(gc): Temporarily disabled in the GC branch.
52 'test-log/EquivalenceOfLoggingAndTraversal': [PASS, FAIL],
53
54 # We do not yet shrink weak maps after they have been emptied by the GC
55 'test-weakmaps/Shrinking': [FAIL],
56 'test-weaksets/WeakSet_Shrinking': [FAIL],
57
58 # Boot up memory use is bloated in debug mode.
59 'test-mark-compact/BootUpMemoryUse': [PASS, PASS, ['mode == debug', FAIL]],
60
61 # This tests only that the preparser and parser agree, so there is no point in
62 # running several variants. Note that this still takes ages, because there
63 # are actually 13 * 38 * 5 * 128 = 316160 individual tests hidden here.
64 'test-parsing/ParserSync': [PASS, NO_VARIANTS],
65
66 # This tests only the type system, so there is no point in running several
67 # variants.
68 'test-hydrogen-types/*': [PASS, NO_VARIANTS],
69 'test-types/*': [PASS, NO_VARIANTS],
70
71 # The cpu profiler tests are notoriously flaky.
72 # BUG(2999). (test/cpu-profiler/CollectCpuProfile)
73 # BUG(3287). (test-cpu-profiler/SampleWhenFrameIsNotSetup)
74 'test-cpu-profiler/*': [PASS, FLAKY],
75 'test-cpu-profiler/*': [SKIP],
76
77 # BUG(3525). Test crashes flakily.
78 'test-debug/RecursiveBreakpoints': [PASS, FLAKY],
79 'test-debug/RecursiveBreakpointsGlobal': [PASS, FLAKY],
80
81 ##############################################################################
82 # TurboFan compiler failures.
83
Ben Murdochb8a8cc12014-11-26 15:28:44 +000084 # Some tests are just too slow to run for now.
85 'test-api/Threading*': [PASS, NO_VARIANTS],
86 'test-heap/IncrementalMarkingStepMakesBigProgressWithLargeObjects': [PASS, NO_VARIANTS],
87 'test-heap-profiler/ManyLocalsInSharedContext': [PASS, NO_VARIANTS],
88 'test-debug/ThreadedDebugging': [PASS, NO_VARIANTS],
89 'test-debug/DebugBreakLoop': [PASS, NO_VARIANTS],
Emily Bernierd0a1eb72015-03-24 16:35:39 -040090 # BUG(3742).
91 'test-mark-compact/MarkCompactCollector': [PASS, ['arch==arm', NO_VARIANTS]],
Ben Murdochb8a8cc12014-11-26 15:28:44 +000092
93 # Support for %GetFrameDetails is missing and requires checkpoints.
94 'test-api/Regress385349': [PASS, NO_VARIANTS],
95 'test-debug/DebuggerStatement': [PASS, NO_VARIANTS],
96 'test-debug/DebuggerStatementBreakpoint': [PASS, NO_VARIANTS],
97 'test-debug/DebugEvaluateWithCodeGenerationDisallowed': [PASS, NO_VARIANTS],
98 'test-debug/DebugStepNatives': [PASS, NO_VARIANTS],
99 'test-debug/DebugStepFunctionCall': [PASS, NO_VARIANTS],
100 'test-debug/DebugStepFunctionApply': [PASS, NO_VARIANTS],
101 'test-debug/ScriptNameAndData': [PASS, NO_VARIANTS],
102 'test-debug/ContextData': [PASS, NO_VARIANTS],
103 'test-debug/DebugBreakInMessageHandler': [PASS, NO_VARIANTS],
104 'test-debug/CallFunctionInDebugger': [PASS, NO_VARIANTS],
105 'test-debug/CallingContextIsNotDebugContext': [PASS, NO_VARIANTS],
106 'test-debug/DebugEventContext': [PASS, NO_VARIANTS],
107 'test-debug/DebugBreakInline': [PASS, NO_VARIANTS],
Emily Bernierd0a1eb72015-03-24 16:35:39 -0400108 'test-debug/BreakMessageWhenMessageHandlerIsReset': [PASS, NO_VARIANTS],
109 'test-debug/DebugBreak': [PASS, NO_VARIANTS],
110 'test-debug/DebugBreakFunctionApply': [PASS, NO_VARIANTS],
111 'test-debug/DebugBreakStackInspection': [PASS, NO_VARIANTS],
112 'test-debug/DeoptimizeDuringDebugBreak': [PASS, NO_VARIANTS],
113 'test-debug/DisableBreak': [PASS, NO_VARIANTS],
114 'test-debug/NoDebugBreakInAfterCompileMessageHandler': [PASS, NO_VARIANTS],
115 'test-debug/RegExpDebugBreak': [PASS, NO_VARIANTS],
116
117 # TODO(titzer): Triggers bug in late control reduction.
118 'test-run-inlining/InlineLoopGuardedEmpty': [SKIP],
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000119
120 ############################################################################
121 # Slow tests.
122 'test-api/Threading1': [PASS, ['mode == debug', SLOW]],
123 'test-api/Threading2': [PASS, ['mode == debug', SLOW]],
124 'test-api/Threading3': [PASS, ['mode == debug', SLOW]],
125 'test-api/Threading4': [PASS, ['mode == debug', SLOW]],
126 'test-strings/StringOOM*': [PASS, ['mode == debug', SKIP]],
127}], # ALWAYS
Steve Block6ded16b2010-05-10 14:33:55 +0100128
Ben Murdochb0fe1622011-05-05 13:52:32 +0100129##############################################################################
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000130['arch == arm64', {
Steve Blocka7e24c12009-10-30 11:49:00 +0000131
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000132 'test-api/Bug618': [PASS],
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100133
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000134 # BUG(v8:3385).
135 'test-serialize/DeserializeFromSecondSerialization': [PASS, FAIL],
136 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [PASS, FAIL],
Steve Block3ce2e202009-11-05 08:53:23 +0000137
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000138 # BUG(v8:2999).
139 'test-cpu-profiler/CollectCpuProfile': [PASS, FAIL],
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100140
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000141 # BUG(v8:3154).
142 'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
Ben Murdoch3ef787d2012-04-12 10:51:47 +0100143
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000144 # BUG(v8:3155).
145 'test-strings/OneByteArrayJoin': [PASS, ['mode == debug', FAIL]],
146
147 # BUG(v8:3247).
148 'test-mark-compact/NoPromotion': [SKIP],
149
150 # BUG(v8:3446).
151 'test-mark-compact/Promotion': [PASS, FAIL],
152
153 # BUG(v8:3434).
154 ' test-api/LoadICFastApi_DirectCall_GCMoveStubWithProfiler': [SKIP],
155}], # 'arch == arm64'
156
157['arch == arm64 and simulator_run == True', {
158
159 # Pass but take too long with the simulator.
160 'test-api/ExternalArrays': [PASS, TIMEOUT],
161 'test-api/Threading1': [SKIP],
162}], # 'arch == arm64 and simulator_run == True'
163
164['arch == arm64 and mode == debug and simulator_run == True', {
165
166 # Pass but take too long with the simulator in debug mode.
167 'test-api/ExternalDoubleArray': [SKIP],
168 'test-api/ExternalFloat32Array': [SKIP],
169 'test-api/ExternalFloat64Array': [SKIP],
170 'test-api/ExternalFloatArray': [SKIP],
171 'test-api/Float32Array': [SKIP],
172 'test-api/Float64Array': [SKIP],
173 'test-debug/DebugBreakLoop': [SKIP],
174}], # 'arch == arm64 and mode == debug and simulator_run == True'
Ben Murdoch69a99ed2011-11-30 16:03:39 +0000175
Ben Murdochb0fe1622011-05-05 13:52:32 +0100176##############################################################################
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000177['asan == True', {
178 # Skip tests not suitable for ASAN.
179 'test-assembler-x64/AssemblerX64XchglOperations': [SKIP],
180 'test-lockers/MultithreadedParallelIsolates': [SKIP],
181}], # 'asan == True'
Ben Murdoch8b112d22011-06-08 16:22:53 +0100182
Ben Murdochb0fe1622011-05-05 13:52:32 +0100183##############################################################################
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000184['no_snap == True', {
185 # BUG(3215)
186 'test-lockers/MultithreadedParallelIsolates': [PASS, FAIL, TIMEOUT],
187}], # 'no_snap == True'
Ben Murdochb0fe1622011-05-05 13:52:32 +0100188
189##############################################################################
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000190# TODO(machenbach): Fix application of '*'. Nosnap windows needs a separate
191# section to not overwrite the expectations for TestThatAlwaysFails.
192['no_snap == True and system == windows', {
193 # Windows doesn't support nosnap mode.
194 'test-serialize/*': [SKIP],
195}], # 'no_snap == True and system == windows'
Ben Murdochc7cc0282012-03-05 14:35:55 +0000196
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000197##############################################################################
198['system == windows', {
199
200 # BUG(2999).
201 'test-cpu-profiler/CollectCpuProfile': [PASS, FAIL],
202
203 # BUG(3005).
204 'test-alloc/CodeRange': [PASS, FAIL],
205
206 # BUG(3215). Crashes on windows.
207 'test-lockers/MultithreadedParallelIsolates': [SKIP],
208
209 # BUG(3331). Fails on windows.
210 'test-heap/NoWeakHashTableLeakWithIncrementalMarking': [SKIP],
211
212 # BUG(v8:3433). Crashes on windows.
213 'test-cpu-profiler/FunctionApplySample': [SKIP],
214
215}], # 'system == windows'
216
217##############################################################################
218['system == macos', {
219
220 # BUG(3125).
221 'test-debug/DebugGetLoadedScripts': [PASS, FLAKY],
222 'test-debug/DebugStepLinear': [PASS, FLAKY],
223 'test-debug/DebuggerClearMessageHandler': [PASS, FLAKY],
224}], # 'system == macos'
225
226##############################################################################
227['arch == arm', {
228
229 # BUG(355): Test crashes on ARM.
230 'test-log/ProfLazyMode': [SKIP],
231
232 # BUG(1075): Unresolved crashes.
233 'test-serialize/Deserialize': [SKIP],
234 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
235 'test-serialize/DeserializeAndRunScript2': [SKIP],
236 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
237
238 ############################################################################
239 # Slow tests.
240 'test-api/Threading1': [PASS, SLOW],
241 'test-api/Threading2': [PASS, SLOW],
242 'test-api/Threading3': [PASS, SLOW],
243 'test-api/Threading4': [PASS, SLOW],
244
245 # Crashes due to OOM in simulator.
246 'test-types/Distributivity1': [PASS, FLAKY],
247 'test-types/Distributivity2': [PASS, FLAKY],
248}], # 'arch == arm'
249
250##############################################################################
251['arch == mipsel or arch == mips', {
252
253 # BUG(2657): Test sometimes times out on MIPS simulator.
254 'test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate': [PASS, TIMEOUT],
255
256 # BUG(1075): Unresolved crashes on MIPS also.
257 'test-serialize/Deserialize': [SKIP],
258 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
259 'test-serialize/DeserializeAndRunScript2': [SKIP],
260 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
261
262 # Test requires turbofan:
263 'test-simplified-lowering/LowerStringOps_to_call_and_compare': [SKIP],
264 'codegen-tester/CompareWrapper': [SKIP],
265 'codegen-tester/ParametersEqual': [SKIP],
266}], # 'arch == mipsel or arch == mips'
267
268##############################################################################
Emily Bernierd0a1eb72015-03-24 16:35:39 -0400269['arch == mips', {
270 # Too slow with TF.
271 'test-api/ExternalArrays': [PASS, NO_VARIANTS],
272
273 # TODO(mips-team): Currently fails on mips board.
274 'test-simplified-lowering/RunNumberMultiply_TruncatingToUint32': [SKIP],
275 'test-parsing/TooManyArguments': [SKIP],
276 'test-api/Threading3': [SKIP],
277 'test-api/RequestInterruptTestWithNativeAccessor': [SKIP],
278 'test-api/RequestInterruptTestWithAccessor': [SKIP],
279}], # 'arch == mips'
280
281##############################################################################
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000282['arch == mips64el', {
283
284 # BUG(2657): Test sometimes times out on MIPS simulator.
285 'test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate': [PASS, TIMEOUT],
286
287 # BUG(v8:3154).
288 'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
289
290 # BUG(1075): Unresolved crashes on MIPS also.
291 'test-serialize/Deserialize': [SKIP],
292 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
293 'test-serialize/DeserializeAndRunScript2': [SKIP],
294 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
295
296 # Test requires turbofan:
297 'test-simplified-lowering/LowerStringOps_to_call_and_compare': [SKIP],
298 'codegen-tester/CompareWrapper': [SKIP],
299 'codegen-tester/ParametersEqual': [SKIP],
300}], # 'arch == mips64el'
301
302##############################################################################
303['arch == x87', {
304
305 # Test requires turbofan:
306 'codegen-tester/CompareWrapper': [SKIP],
307 'codegen-tester/ParametersEqual': [SKIP],
308 'test-simplified-lowering/LowerStringOps_to_call_and_compare': [SKIP],
309}], # 'arch == x87'
310
311##############################################################################
312['arch == android_arm or arch == android_ia32', {
313
314 # Tests crash as there is no /tmp directory in Android.
315 'test-log/LogAccessorCallbacks': [SKIP],
316 'test-log/LogCallbacks': [SKIP],
317 'test-log/ProfLazyMode': [SKIP],
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000318}], # 'arch == android_arm or arch == android_ia32'
319
320##############################################################################
321['arch == nacl_ia32 or arch == nacl_x64', {
322
323 # NaCl builds have problems with threaded tests since Pepper_28.
324 # V8 Issue 2786
325 'test-api/Threading1': [SKIP],
326 'test-lockers/MultithreadedParallelIsolates': [SKIP],
327 'test-lockers/ExtensionsRegistration': [SKIP],
328
329 # These tests fail as there is no /tmp directory in Native Client.
330 'test-log/LogAccessorCallbacks': [SKIP],
331 'test-log/LogCallbacks': [SKIP],
332 'test-log/ProfLazyMode': [SKIP],
333
334 # Native Client doesn't support sockets.
335 'test-debug/DebuggerAgent': [SKIP],
336 'test-debug/DebuggerAgentProtocolOverflowHeader': [SKIP],
337 'test-socket/Socket': [SKIP],
338
339 # Profiling doesn't work on Native Client.
340 'test-cpu-profiler/*': [SKIP],
341
342 # Fails since 16322 (new test).
343 'test-code-stubs-arm/ConvertDToI': [SKIP],
344
345 # BUG(2998).
346 'test-macro-assembler-arm/LoadAndStoreWithRepresentation': [SKIP],
347
348 # BUG(3150).
349 'test-api/PreCompileInvalidPreparseDataError': [SKIP],
350
351 'test-types/Convert' : [SKIP],
352 'test-symbols/Create' : [SKIP],
353 'test-parsing/ParserSync' : [SKIP],
354 'test-parsing/ErrorsEvalAndArguments' : [SKIP],
355 'test-parsing/ErrorsFutureStrictReservedWords' : [SKIP],
356 'test-parsing/ErrorsReservedWords' : [SKIP],
357 'test-parsing/ErrorsYieldStrict' : [SKIP],
358 'test-parsing/ErrorsNotAnIdentifierName' : [SKIP],
359 'test-parsing/FunctionDeclaresItselfStrict' : [SKIP],
360 'test-parsing/ErrorsObjectLiteralChecking' : [SKIP],
361 'test-parsing/InvalidLeftHandSide' : [SKIP],
362 'test-heap/GarbageCollection' : [SKIP],
363 'test-heap/GlobalHandles' : [SKIP],
364 'test-heap/WeakGlobalHandlesScavenge' : [SKIP],
365 'test-heap/DeleteWeakGlobalHandle' : [SKIP],
366 'test-heap/GrowAndShrinkNewSpace' : [SKIP],
367 'test-heap/OptimizedAllocationAlwaysInNewSpace' : [SKIP],
368 'test-heap/OptimizedPretenuringAllocationFolding' : [SKIP],
369 'test-heap/OptimizedPretenuringObjectArrayLiterals' : [SKIP],
370 'test-heap/OptimizedPretenuringAllocationFoldingBlocks' : [SKIP],
371 'test-heap/OptimizedPretenuringMixedInObjectProperties' : [SKIP],
372 'test-heap/OptimizedPretenuringDoubleArrayProperties' : [SKIP],
373 'test-heap/OptimizedPretenuringdoubleArrayLiterals' : [SKIP],
374 'test-heap/OptimizedPretenuringNestedMixedArrayLiterals' : [SKIP],
375 'test-heap/OptimizedPretenuringNestedObjectLiterals' : [SKIP],
376 'test-heap/OptimizedPretenuringNestedDoubleLiterals' : [SKIP],
377 'test-heap/Regress169928' : [SKIP],
378 'test-decls/Unknown' : [SKIP],
379 'test-decls/Present' : [SKIP],
380 'test-decls/Absent' : [SKIP],
381 'test-decls/Appearing' : [SKIP],
382 'test-decls/Reappearing' : [SKIP],
383 'test-decls/ExistsInPrototype' : [SKIP],
384 'test-decls/AbsentInPrototype' : [SKIP],
385 'test-decls/ExistsInHiddenPrototype' : [SKIP],
386 'test-debug/ConditionalScriptBreakPoint' : [SKIP],
387 'test-debug/DebugEvaluate' : [SKIP],
388 'test-debug/ConditionalBreakpointWithCodeGenerationDisallowed' : [SKIP],
389 'test-debug/DebugEvaluateWithCodeGenerationDisallowed' : [SKIP],
390 'test-debug/DebugBreak' : [SKIP],
391 'test-debug/ThreadedDebugging' : [SKIP],
392 'test-debug/RecursiveBreakpoints' : [SKIP],
393 'test-dictionary/HashMap' : [SKIP],
394 'test-debug/Backtrace' : [SKIP],
395 'test-debug/DebugBreakLoop' : [SKIP],
396 'test-constantpool/ConstantPool' : [SKIP],
397 'test-compiler/GetScriptLineNumber' : [SKIP],
398 'test-api/ScriptMakingExternalString' : [SKIP],
399 'test-api/ScriptMakingExternalOneByteString' : [SKIP],
400 'test-api/MakingExternalStringConditions' : [SKIP],
401 'test-api/MakingExternalOneByteStringConditions' : [SKIP],
402 'test-api/MakingExternalUnalignedOneByteString' : [SKIP],
403 'test-api/IndexedInterceptorUnboxedDoubleWithIndexedAccessor' : [SKIP],
404 'test-api/IndependentWeakHandle' : [SKIP],
405 'test-api/GCFromWeakCallbacks' : [SKIP],
406 'test-api/IndependentHandleRevival' : [SKIP],
407 'test-api/StringWrite' : [SKIP],
408 'test-api/Threading3' : [SKIP],
409 'test-api/Threading4' : [SKIP],
410 'test-api/Threading2' : [SKIP],
411 'test-api/FixedFloat32Array' : [SKIP],
412 'test-api/FixedFloat64Array' : [SKIP],
413 'test-api/ExternalFloat32Array' : [SKIP],
414 'test-api/ExternalFloat64Array' : [SKIP],
415 'test-api/ExternalArrays' : [SKIP],
416 'test-api/Float32Array' : [SKIP],
417 'test-api/Float64Array' : [SKIP],
418 'test-api/Regress2333' : [SKIP],
419 'test-alloc/StressHandles' : [SKIP],
420 'test-alloc/StressJS' : [SKIP],
421 'test-accessors/HandleScopePop' : [SKIP],
422 'test-accessors/Gc' : [SKIP],
423
424}], # 'arch == nacl_ia32 or arch == nacl_x64'
425]