1 # 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
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.
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.
30 # All tests prefixed with 'Bug' are expected to fail.
31 'test-api/Bug*': [FAIL],
33 ##############################################################################
35 # BUG(382): Weird test. Can't guarantee that it never times out.
36 'test-api/ApplyInterruption': [PASS, TIMEOUT],
38 # TODO(mstarzinger): Fail gracefully on multiple V8::Dispose calls.
39 'test-api/InitializeAndDisposeOnce': [SKIP],
40 'test-api/InitializeAndDisposeMultiple': [SKIP],
42 # These tests always fail. They are here to test test.py. If
43 # they don't fail then test.py has failed.
44 'test-serialize/TestThatAlwaysFails': [FAIL],
45 'test-serialize/DependentTestThatAlwaysFails': [FAIL],
47 # This test always fails. It tests that LiveEdit causes abort when turned off.
48 'test-debug/LiveEditDisabled': [FAIL],
50 # This test always fails. It tests that DisallowJavascriptExecutionScope
52 'test-api/DisallowJavascriptExecutionScope': [FAIL],
54 # TODO(gc): Temporarily disabled in the GC branch.
55 'test-log/EquivalenceOfLoggingAndTraversal': [PASS, FAIL],
57 # We do not yet shrink weak maps after they have been emptied by the GC
58 'test-weakmaps/Shrinking': [FAIL],
59 'test-weaksets/WeakSet_Shrinking': [FAIL],
61 # Boot up memory use is bloated in debug mode.
62 'test-mark-compact/BootUpMemoryUse': [PASS, PASS, ['mode == debug', FAIL]],
64 # This tests only that the preparser and parser agree, so there is no point in
65 # running several variants. Note that this still takes ages, because there
66 # are actually 13 * 38 * 5 * 128 = 316160 individual tests hidden here.
67 'test-parsing/ParserSync': [PASS, NO_VARIANTS],
69 # This tests only the type system, so there is no point in running several
71 'test-hydrogen-types/*': [PASS, NO_VARIANTS],
72 'test-types/*': [PASS, NO_VARIANTS],
74 # The cpu profiler tests are notoriously flaky.
75 # BUG(2999). (test/cpu-profiler/CollectCpuProfile)
76 # BUG(3287). (test-cpu-profiler/SampleWhenFrameIsNotSetup)
77 'test-cpu-profiler/*': [PASS, FLAKY],
79 ##############################################################################
80 # TurboFan compiler failures.
82 # TODO(mstarzinger): These need investigation and are not categorized yet.
83 'test-cpu-profiler/*': [SKIP],
84 'test-heap/NextCodeLinkIsWeak': [PASS, NO_VARIANTS],
86 # TODO(mstarzinger/verwaest): This access check API is borked.
87 'test-api/TurnOnAccessCheck': [PASS, NO_VARIANTS],
88 'test-api/TurnOnAccessCheckAndRecompile': [PASS, NO_VARIANTS],
90 # TODO(mstarzinger): Sometimes the try-catch blacklist fails.
91 'test-debug/DebugEvaluateWithoutStack': [PASS, NO_VARIANTS],
92 'test-debug/MessageQueues': [PASS, NO_VARIANTS],
93 'test-debug/NestedBreakEventContextData': [PASS, NO_VARIANTS],
94 'test-debug/SendClientDataToHandler': [PASS, NO_VARIANTS],
96 # TODO(dcarney): C calls are broken all over the place.
97 'test-run-machops/RunCall*': [SKIP],
98 'test-run-machops/RunLoadImmIndex': [SKIP],
99 'test-run-machops/RunSpillLotsOfThingsWithCall': [SKIP],
101 # Some tests are just too slow to run for now.
102 'test-api/Threading*': [PASS, NO_VARIANTS],
103 'test-api/RequestInterruptTestWithMathAbs': [PASS, NO_VARIANTS],
104 'test-heap/IncrementalMarkingStepMakesBigProgressWithLargeObjects': [PASS, NO_VARIANTS],
105 'test-heap-profiler/ManyLocalsInSharedContext': [PASS, NO_VARIANTS],
106 'test-debug/ThreadedDebugging': [PASS, NO_VARIANTS],
107 'test-debug/DebugBreakLoop': [PASS, NO_VARIANTS],
109 # Support for lazy deoptimization is missing.
110 'test-deoptimization/DeoptimizeCompare': [PASS, NO_VARIANTS],
112 # Support for breakpoints requires using LoadICs and StoreICs.
113 'test-debug/BreakPointICStore': [PASS, NO_VARIANTS],
114 'test-debug/BreakPointICLoad': [PASS, NO_VARIANTS],
115 'test-debug/BreakPointICCall': [PASS, NO_VARIANTS],
116 'test-debug/BreakPointICCallWithGC': [PASS, NO_VARIANTS],
117 'test-debug/BreakPointConstructCallWithGC': [PASS, NO_VARIANTS],
118 'test-debug/BreakPointReturn': [PASS, NO_VARIANTS],
119 'test-debug/BreakPointThroughJavaScript': [PASS, NO_VARIANTS],
120 'test-debug/ScriptBreakPointByNameThroughJavaScript': [PASS, NO_VARIANTS],
121 'test-debug/ScriptBreakPointByIdThroughJavaScript': [PASS, NO_VARIANTS],
122 'test-debug/DebugStepLinear': [PASS, NO_VARIANTS],
123 'test-debug/DebugStepKeyedLoadLoop': [PASS, NO_VARIANTS],
124 'test-debug/DebugStepKeyedStoreLoop': [PASS, NO_VARIANTS],
125 'test-debug/DebugStepNamedLoadLoop': [PASS, NO_VARIANTS],
126 'test-debug/DebugStepNamedStoreLoop': [PASS, NO_VARIANTS],
127 'test-debug/DebugStepLinearMixedICs': [PASS, NO_VARIANTS],
128 'test-debug/DebugStepDeclarations': [PASS, NO_VARIANTS],
129 'test-debug/DebugStepLocals': [PASS, NO_VARIANTS],
130 'test-debug/DebugStepIf': [PASS, NO_VARIANTS],
131 'test-debug/DebugStepSwitch': [PASS, NO_VARIANTS],
132 'test-debug/DebugStepWhile': [PASS, NO_VARIANTS],
133 'test-debug/DebugStepDoWhile': [PASS, NO_VARIANTS],
134 'test-debug/DebugStepFor': [PASS, NO_VARIANTS],
135 'test-debug/DebugStepForContinue': [PASS, NO_VARIANTS],
136 'test-debug/DebugStepForBreak': [PASS, NO_VARIANTS],
137 'test-debug/DebugStepForIn': [PASS, NO_VARIANTS],
138 'test-debug/DebugStepWith': [PASS, NO_VARIANTS],
139 'test-debug/DebugConditional': [PASS, NO_VARIANTS],
140 'test-debug/StepInOutSimple': [PASS, NO_VARIANTS],
141 'test-debug/StepInOutTree': [PASS, NO_VARIANTS],
142 'test-debug/StepInOutBranch': [PASS, NO_VARIANTS],
143 'test-debug/DebugBreak': [PASS, NO_VARIANTS],
144 'test-debug/DebugBreakStackInspection': [PASS, NO_VARIANTS],
145 'test-debug/BreakMessageWhenMessageHandlerIsReset': [PASS, NO_VARIANTS],
146 'test-debug/NoDebugBreakInAfterCompileMessageHandler': [PASS, NO_VARIANTS],
147 'test-debug/DisableBreak': [PASS, NO_VARIANTS],
148 'test-debug/RegExpDebugBreak': [PASS, NO_VARIANTS],
149 'test-debug/DebugBreakFunctionApply': [PASS, NO_VARIANTS],
150 'test-debug/DeoptimizeDuringDebugBreak': [PASS, NO_VARIANTS],
152 # Support for %GetFrameDetails is missing and requires checkpoints.
153 'test-api/Regress385349': [PASS, NO_VARIANTS],
154 'test-debug/DebuggerStatement': [PASS, NO_VARIANTS],
155 'test-debug/DebuggerStatementBreakpoint': [PASS, NO_VARIANTS],
156 'test-debug/DebugEvaluateWithCodeGenerationDisallowed': [PASS, NO_VARIANTS],
157 'test-debug/DebugStepNatives': [PASS, NO_VARIANTS],
158 'test-debug/DebugStepFunctionCall': [PASS, NO_VARIANTS],
159 'test-debug/DebugStepFunctionApply': [PASS, NO_VARIANTS],
160 'test-debug/ScriptNameAndData': [PASS, NO_VARIANTS],
161 'test-debug/ContextData': [PASS, NO_VARIANTS],
162 'test-debug/DebugBreakInMessageHandler': [PASS, NO_VARIANTS],
163 'test-debug/CallFunctionInDebugger': [PASS, NO_VARIANTS],
164 'test-debug/CallingContextIsNotDebugContext': [PASS, NO_VARIANTS],
165 'test-debug/DebugEventContext': [PASS, NO_VARIANTS],
166 'test-debug/DebugBreakInline': [PASS, NO_VARIANTS],
168 ############################################################################
170 'test-api/Threading1': [PASS, ['mode == debug', SLOW]],
171 'test-api/Threading2': [PASS, ['mode == debug', SLOW]],
172 'test-api/Threading3': [PASS, ['mode == debug', SLOW]],
173 'test-api/Threading4': [PASS, ['mode == debug', SLOW]],
174 'test-strings/StringOOM*': [PASS, ['mode == debug', SKIP]],
177 ##############################################################################
180 'test-api/Bug618': [PASS],
183 'test-serialize/DeserializeFromSecondSerialization': [PASS, FAIL],
184 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [PASS, FAIL],
187 'test-cpu-profiler/CollectCpuProfile': [PASS, FAIL],
190 'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
193 'test-strings/AsciiArrayJoin': [PASS, ['mode == debug', FAIL]],
196 'test-mark-compact/NoPromotion': [SKIP],
199 'test-mark-compact/Promotion': [PASS, FAIL],
202 ' test-api/LoadICFastApi_DirectCall_GCMoveStubWithProfiler': [SKIP]
203 }], # 'arch == arm64'
205 ['arch == arm64 and simulator_run == True', {
207 # Pass but take too long with the simulator.
208 'test-api/ExternalArrays': [PASS, TIMEOUT],
209 'test-api/Threading1': [SKIP],
210 }], # 'arch == arm64 and simulator_run == True'
212 ['arch == arm64 and mode == debug and simulator_run == True', {
214 # Pass but take too long with the simulator in debug mode.
215 'test-api/ExternalDoubleArray': [SKIP],
216 'test-api/ExternalFloat32Array': [SKIP],
217 'test-api/ExternalFloat64Array': [SKIP],
218 'test-api/ExternalFloatArray': [SKIP],
219 'test-api/Float32Array': [SKIP],
220 'test-api/Float64Array': [SKIP],
221 'test-debug/DebugBreakLoop': [SKIP],
222 }], # 'arch == arm64 and mode == debug and simulator_run == True'
224 ##############################################################################
226 # Skip tests not suitable for ASAN.
227 'test-assembler-x64/AssemblerX64XchglOperations': [SKIP],
228 'test-lockers/MultithreadedParallelIsolates': [SKIP],
231 ##############################################################################
232 ['no_snap == True', {
234 'test-lockers/MultithreadedParallelIsolates': [PASS, FAIL, TIMEOUT],
235 }], # 'no_snap == True'
237 ##############################################################################
238 # TODO(machenbach): Fix application of '*'. Nosnap windows needs a separate
239 # section to not overwrite the expectations for TestThatAlwaysFails.
240 ['no_snap == True and system == windows', {
241 # Windows doesn't support nosnap mode.
242 'test-serialize/*': [SKIP],
243 }], # 'no_snap == True and system == windows'
245 ##############################################################################
246 ['system == windows', {
249 'test-cpu-profiler/CollectCpuProfile': [PASS, FAIL],
252 'test-alloc/CodeRange': [PASS, FAIL],
254 # BUG(3215). Crashes on windows.
255 'test-lockers/MultithreadedParallelIsolates': [SKIP],
257 # BUG(3331). Fails on windows.
258 'test-heap/NoWeakHashTableLeakWithIncrementalMarking': [SKIP],
260 # BUG(v8:3433). Crashes on windows.
261 'test-cpu-profiler/FunctionApplySample': [SKIP],
263 }], # 'system == windows'
265 ##############################################################################
266 ['system == macos', {
269 'test-debug/DebugGetLoadedScripts': [PASS, FLAKY],
270 'test-debug/DebugStepLinear': [PASS, FLAKY],
271 'test-debug/DebuggerClearMessageHandler': [PASS, FLAKY],
272 }], # 'system == macos'
274 ##############################################################################
277 # BUG(355): Test crashes on ARM.
278 'test-log/ProfLazyMode': [SKIP],
280 # BUG(1075): Unresolved crashes.
281 'test-serialize/Deserialize': [SKIP],
282 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
283 'test-serialize/DeserializeAndRunScript2': [SKIP],
284 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
286 ############################################################################
288 'test-api/Threading1': [PASS, SLOW],
289 'test-api/Threading2': [PASS, SLOW],
290 'test-api/Threading3': [PASS, SLOW],
291 'test-api/Threading4': [PASS, SLOW],
293 # Crashes due to OOM in simulator.
294 'test-types/Distributivity1': [PASS, FLAKY],
295 'test-types/Distributivity2': [PASS, FLAKY],
298 ##############################################################################
299 ['arch == mipsel or arch == mips', {
301 # BUG(2657): Test sometimes times out on MIPS simulator.
302 'test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate': [PASS, TIMEOUT],
304 # BUG(1075): Unresolved crashes on MIPS also.
305 'test-serialize/Deserialize': [SKIP],
306 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
307 'test-serialize/DeserializeAndRunScript2': [SKIP],
308 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
309 }], # 'arch == mipsel or arch == mips'
311 ##############################################################################
312 ['arch == mips64el', {
314 # BUG(2657): Test sometimes times out on MIPS simulator.
315 'test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate': [PASS, TIMEOUT],
318 'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
320 # BUG(1075): Unresolved crashes on MIPS also.
321 'test-serialize/Deserialize': [SKIP],
322 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
323 'test-serialize/DeserializeAndRunScript2': [SKIP],
324 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
325 }], # 'arch == mips64el'
327 ##############################################################################
330 # TODO (weiliang): Enable below tests after fixing the double register
331 # allocation limit in X87 port.
332 'test-serialize/Serialize': [PASS, ['mode == debug', SKIP]],
333 'test-serialize/Deserialize': [PASS, ['mode == debug', SKIP]],
334 'test-serialize/SerializeTwice': [PASS, ['mode == debug', SKIP]],
335 'test-serialize/ContextSerialization': [PASS, ['mode == debug', SKIP]],
336 'test-serialize/ContextDeserialization': [PASS, ['mode == debug', SKIP]],
337 'test-serialize/PartialDeserialization': [PASS, ['mode == debug', SKIP]],
338 'test-serialize/PartialSerialization': [PASS, ['mode == debug', SKIP]],
339 'test-serialize/DeserializeAndRunScript2': [PASS, ['mode == debug', SKIP]],
340 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [PASS, ['mode == debug', SKIP]],
341 'test-serialize/DeserializeFromSecondSerialization': [PASS, ['mode == debug', SKIP]],
344 ##############################################################################
345 ['arch == android_arm or arch == android_ia32', {
347 # Tests crash as there is no /tmp directory in Android.
348 'test-log/LogAccessorCallbacks': [SKIP],
349 'test-log/LogCallbacks': [SKIP],
350 'test-log/ProfLazyMode': [SKIP],
352 # platform-tls.h does not contain an ANDROID-related header.
353 'test-platform-tls/FastTLS': [SKIP],
355 # This test times out.
356 'test-threads/ThreadJoinSelf': [SKIP],
357 }], # 'arch == android_arm or arch == android_ia32'
359 ##############################################################################
360 ['arch == nacl_ia32 or arch == nacl_x64', {
362 # NaCl builds have problems with threaded tests since Pepper_28.
364 'test-api/Threading1': [SKIP],
365 'test-lockers/MultithreadedParallelIsolates': [SKIP],
366 'test-lockers/ExtensionsRegistration': [SKIP],
368 # These tests fail as there is no /tmp directory in Native Client.
369 'test-log/LogAccessorCallbacks': [SKIP],
370 'test-log/LogCallbacks': [SKIP],
371 'test-log/ProfLazyMode': [SKIP],
373 # Native Client doesn't support sockets.
374 'test-debug/DebuggerAgent': [SKIP],
375 'test-debug/DebuggerAgentProtocolOverflowHeader': [SKIP],
376 'test-socket/Socket': [SKIP],
378 # Profiling doesn't work on Native Client.
379 'test-cpu-profiler/*': [SKIP],
381 # Fails since 16322 (new test).
382 'test-code-stubs-arm/ConvertDToI': [SKIP],
385 'test-macro-assembler-arm/LoadAndStoreWithRepresentation': [SKIP],
388 'test-api/PreCompileInvalidPreparseDataError': [SKIP],
390 'test-types/Convert' : [SKIP],
391 'test-symbols/Create' : [SKIP],
392 'test-parsing/ParserSync' : [SKIP],
393 'test-parsing/ErrorsEvalAndArguments' : [SKIP],
394 'test-parsing/ErrorsFutureStrictReservedWords' : [SKIP],
395 'test-parsing/ErrorsReservedWords' : [SKIP],
396 'test-parsing/ErrorsYieldStrict' : [SKIP],
397 'test-parsing/ErrorsNotAnIdentifierName' : [SKIP],
398 'test-parsing/FunctionDeclaresItselfStrict' : [SKIP],
399 'test-parsing/ErrorsObjectLiteralChecking' : [SKIP],
400 'test-parsing/InvalidLeftHandSide' : [SKIP],
401 'test-heap/GarbageCollection' : [SKIP],
402 'test-heap/GlobalHandles' : [SKIP],
403 'test-heap/WeakGlobalHandlesScavenge' : [SKIP],
404 'test-heap/DeleteWeakGlobalHandle' : [SKIP],
405 'test-heap/GrowAndShrinkNewSpace' : [SKIP],
406 'test-heap/OptimizedAllocationAlwaysInNewSpace' : [SKIP],
407 'test-heap/OptimizedPretenuringAllocationFolding' : [SKIP],
408 'test-heap/OptimizedPretenuringObjectArrayLiterals' : [SKIP],
409 'test-heap/OptimizedPretenuringAllocationFoldingBlocks' : [SKIP],
410 'test-heap/OptimizedPretenuringMixedInObjectProperties' : [SKIP],
411 'test-heap/OptimizedPretenuringDoubleArrayProperties' : [SKIP],
412 'test-heap/OptimizedPretenuringdoubleArrayLiterals' : [SKIP],
413 'test-heap/OptimizedPretenuringNestedMixedArrayLiterals' : [SKIP],
414 'test-heap/OptimizedPretenuringNestedObjectLiterals' : [SKIP],
415 'test-heap/OptimizedPretenuringNestedDoubleLiterals' : [SKIP],
416 'test-heap/Regress169928' : [SKIP],
417 'test-decls/Unknown' : [SKIP],
418 'test-decls/Present' : [SKIP],
419 'test-decls/Absent' : [SKIP],
420 'test-decls/Appearing' : [SKIP],
421 'test-decls/Reappearing' : [SKIP],
422 'test-decls/ExistsInPrototype' : [SKIP],
423 'test-decls/AbsentInPrototype' : [SKIP],
424 'test-decls/ExistsInHiddenPrototype' : [SKIP],
425 'test-debug/ConditionalScriptBreakPoint' : [SKIP],
426 'test-debug/DebugEvaluate' : [SKIP],
427 'test-debug/ConditionalBreakpointWithCodeGenerationDisallowed' : [SKIP],
428 'test-debug/DebugEvaluateWithCodeGenerationDisallowed' : [SKIP],
429 'test-debug/DebugBreak' : [SKIP],
430 'test-debug/ThreadedDebugging' : [SKIP],
431 'test-debug/RecursiveBreakpoints' : [SKIP],
432 'test-dictionary/HashMap' : [SKIP],
433 'test-debug/Backtrace' : [SKIP],
434 'test-debug/DebugBreakLoop' : [SKIP],
435 'test-constantpool/ConstantPool' : [SKIP],
436 'test-compiler/GetScriptLineNumber' : [SKIP],
437 'test-api/ScriptMakingExternalString' : [SKIP],
438 'test-api/ScriptMakingExternalAsciiString' : [SKIP],
439 'test-api/MakingExternalStringConditions' : [SKIP],
440 'test-api/MakingExternalAsciiStringConditions' : [SKIP],
441 'test-api/MakingExternalUnalignedAsciiString' : [SKIP],
442 'test-api/IndexedInterceptorUnboxedDoubleWithIndexedAccessor' : [SKIP],
443 'test-api/IndependentWeakHandle' : [SKIP],
444 'test-api/GCFromWeakCallbacks' : [SKIP],
445 'test-api/IndependentHandleRevival' : [SKIP],
446 'test-api/StringWrite' : [SKIP],
447 'test-api/Threading3' : [SKIP],
448 'test-api/Threading4' : [SKIP],
449 'test-api/Threading2' : [SKIP],
450 'test-api/FixedFloat32Array' : [SKIP],
451 'test-api/FixedFloat64Array' : [SKIP],
452 'test-api/ExternalFloat32Array' : [SKIP],
453 'test-api/ExternalFloat64Array' : [SKIP],
454 'test-api/ExternalArrays' : [SKIP],
455 'test-api/Float32Array' : [SKIP],
456 'test-api/Float64Array' : [SKIP],
457 'test-api/Regress2333' : [SKIP],
458 'test-alloc/StressHandles' : [SKIP],
459 'test-alloc/StressJS' : [SKIP],
460 'test-accessors/HandleScopePop' : [SKIP],
461 'test-accessors/Gc' : [SKIP],
463 }], # 'arch == nacl_ia32 or arch == nacl_x64'