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],
32 'test-serialize/Bug*': [FAIL],
34 ##############################################################################
36 # BUG(382): Weird test. Can't guarantee that it never times out.
37 'test-api/ApplyInterruption': [PASS, TIMEOUT],
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 'test-api/SealHandleScope': [FAIL],
45 # This test always fails. It tests that LiveEdit causes abort when turned off.
46 'test-debug/LiveEditDisabled': [FAIL],
48 # This test always fails. It tests that DisallowJavascriptExecutionScope
50 'test-api/DisallowJavascriptExecutionScope': [FAIL],
52 # TODO(gc): Temporarily disabled in the GC branch.
53 'test-log/EquivalenceOfLoggingAndTraversal': [PASS, FAIL],
55 # We do not yet shrink weak maps after they have been emptied by the GC
56 'test-weakmaps/Shrinking': [FAIL],
57 'test-weaksets/WeakSet_Shrinking': [FAIL],
59 # Boot up memory use is bloated in debug mode.
60 'test-mark-compact/BootUpMemoryUse': [PASS, PASS, ['mode == debug', FAIL]],
62 # This tests only that the preparser and parser agree, so there is no point in
63 # running several variants. Note that this still takes ages, because there
64 # are actually 13 * 38 * 5 * 128 = 316160 individual tests hidden here.
65 'test-parsing/ParserSync': [PASS, NO_VARIANTS],
68 'test-parsing/ExportsMaybeAssigned': [SKIP],
70 # This tests only the type system, so there is no point in running several
72 'test-hydrogen-types/*': [PASS, NO_VARIANTS],
73 'test-types/*': [PASS, NO_VARIANTS],
75 # The cpu profiler tests are notoriously flaky.
76 # BUG(2999). (test/cpu-profiler/CollectCpuProfile)
77 # BUG(3287). (test-cpu-profiler/SampleWhenFrameIsNotSetup)
78 'test-cpu-profiler/*': [PASS, FLAKY],
79 'test-cpu-profiler/*': [SKIP],
81 # BUG(3525). Test crashes flakily.
82 'test-debug/RecursiveBreakpoints': [PASS, FLAKY],
83 'test-debug/RecursiveBreakpointsGlobal': [PASS, FLAKY],
85 ##############################################################################
86 # TurboFan compiler failures.
88 # Some tests are just too slow to run for now.
89 'test-api/Threading*': [PASS, NO_VARIANTS],
90 'test-heap/IncrementalMarkingStepMakesBigProgressWithLargeObjects': [PASS, NO_VARIANTS],
91 'test-heap-profiler/ManyLocalsInSharedContext': [PASS, NO_VARIANTS],
92 'test-debug/ThreadedDebugging': [PASS, NO_VARIANTS],
93 'test-debug/DebugBreakLoop': [PASS, NO_VARIANTS],
95 'test-mark-compact/MarkCompactCollector': [PASS, ['arch==arm', NO_VARIANTS]],
97 # TODO(jarin/mstarzinger): Investigate debugger issues with TurboFan.
98 'test-debug/DebugStepNatives': [PASS, NO_VARIANTS],
99 'test-debug/DebugStepFunctionApply': [PASS, NO_VARIANTS],
100 'test-debug/DebugStepFunctionCall': [PASS, NO_VARIANTS],
102 # TODO(jochen): Reenable after we removed the CHECK() from the marking queue.
103 'test-mark-compact/MarkingDeque': [SKIP],
105 ############################################################################
107 'test-api/Threading1': [PASS, ['mode == debug', SLOW]],
108 'test-api/Threading2': [PASS, ['mode == debug', SLOW]],
109 'test-api/Threading3': [PASS, ['mode == debug', SLOW]],
110 'test-api/Threading4': [PASS, ['mode == debug', SLOW]],
111 'test-strings/StringOOM*': [PASS, ['mode == debug', SKIP]],
114 ##############################################################################
117 'test-api/Bug618': [PASS],
120 'test-serialize/DeserializeFromSecondSerialization': [PASS, FAIL],
121 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [PASS, FAIL],
124 'test-cpu-profiler/CollectCpuProfile': [PASS, FAIL],
127 'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
130 'test-strings/OneByteArrayJoin': [PASS, ['mode == debug', FAIL]],
133 'test-mark-compact/NoPromotion': [SKIP],
136 'test-mark-compact/Promotion': [PASS, FAIL],
139 ' test-api/LoadICFastApi_DirectCall_GCMoveStubWithProfiler': [SKIP],
140 }], # 'arch == arm64'
142 ['arch == arm64 and simulator_run == True', {
144 # Pass but take too long with the simulator.
145 'test-api/ExternalArrays': [PASS, TIMEOUT],
146 'test-api/Threading1': [SKIP],
147 'test-api/Threading2': [SKIP],
148 }], # 'arch == arm64 and simulator_run == True'
150 ['arch == arm64 and mode == debug and simulator_run == True', {
152 # Pass but take too long with the simulator in debug mode.
153 'test-api/ExternalDoubleArray': [SKIP],
154 'test-api/ExternalFloat32Array': [SKIP],
155 'test-api/ExternalFloat64Array': [SKIP],
156 'test-api/ExternalFloatArray': [SKIP],
157 'test-api/Float32Array': [SKIP],
158 'test-api/Float64Array': [SKIP],
159 'test-debug/DebugBreakLoop': [SKIP],
160 }], # 'arch == arm64 and mode == debug and simulator_run == True'
162 ##############################################################################
164 # Skip tests not suitable for ASAN.
165 'test-assembler-x64/AssemblerX64XchglOperations': [SKIP],
168 ##############################################################################
169 ['no_snap == True', {
170 }], # 'no_snap == True'
172 ##############################################################################
173 # TODO(machenbach): Fix application of '*'. Nosnap windows needs a separate
174 # section to not overwrite the expectations for TestThatAlwaysFails.
175 ['no_snap == True and system == windows', {
176 # Windows doesn't support nosnap mode.
177 'test-serialize/*': [SKIP],
178 }], # 'no_snap == True and system == windows'
180 ##############################################################################
181 ['system == windows', {
184 'test-cpu-profiler/CollectCpuProfile': [PASS, FAIL],
187 'test-alloc/CodeRange': [PASS, FAIL],
189 # BUG(3331). Fails on windows.
190 'test-heap/NoWeakHashTableLeakWithIncrementalMarking': [SKIP],
192 # BUG(v8:3433). Crashes on windows.
193 'test-cpu-profiler/FunctionApplySample': [SKIP],
195 }], # 'system == windows'
197 ##############################################################################
198 ['system == macos', {
201 'test-debug/DebugGetLoadedScripts': [PASS, FLAKY],
202 'test-debug/DebugStepLinear': [PASS, FLAKY],
203 'test-debug/DebuggerClearMessageHandler': [PASS, FLAKY],
204 }], # 'system == macos'
206 ##############################################################################
209 # BUG(355): Test crashes on ARM.
210 'test-log/ProfLazyMode': [SKIP],
212 # BUG(1075): Unresolved crashes.
213 'test-serialize/Deserialize': [SKIP],
214 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
215 'test-serialize/DeserializeAndRunScript2': [SKIP],
216 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
218 ############################################################################
220 'test-api/Threading1': [PASS, SLOW],
221 'test-api/Threading2': [PASS, SLOW],
222 'test-api/Threading3': [PASS, SLOW],
223 'test-api/Threading4': [PASS, SLOW],
225 # Crashes due to OOM in simulator.
226 'test-types/Distributivity1': [PASS, FLAKY],
227 'test-types/Distributivity2': [PASS, FLAKY],
230 ##############################################################################
231 ['arch == mipsel or arch == mips', {
233 # BUG(2657): Test sometimes times out on MIPS simulator.
234 'test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate': [PASS, TIMEOUT],
236 # BUG(1075): Unresolved crashes on MIPS also.
237 'test-serialize/Deserialize': [SKIP],
238 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
239 'test-serialize/DeserializeAndRunScript2': [SKIP],
240 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
242 # Test requires turbofan:
243 'test-simplified-lowering/LowerStringOps_to_call_and_compare': [SKIP],
244 'codegen-tester/CompareWrapper': [SKIP],
245 'codegen-tester/ParametersEqual': [SKIP],
246 }], # 'arch == mipsel or arch == mips'
248 ##############################################################################
251 'test-api/ExternalArrays': [PASS, NO_VARIANTS],
253 # TODO(mips-team): Currently fails on mips board.
254 'test-simplified-lowering/RunNumberMultiply_TruncatingToUint32': [SKIP],
255 'test-parsing/TooManyArguments': [SKIP],
256 'test-api/Threading3': [SKIP],
257 'test-api/RequestInterruptTestWithNativeAccessor': [SKIP],
258 'test-api/RequestInterruptTestWithAccessor': [SKIP],
261 ##############################################################################
262 ['arch == mips64el', {
264 # BUG(2657): Test sometimes times out on MIPS simulator.
265 'test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate': [PASS, TIMEOUT],
268 'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
270 # BUG(1075): Unresolved crashes on MIPS also.
271 'test-serialize/Deserialize': [SKIP],
272 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
273 'test-serialize/DeserializeAndRunScript2': [SKIP],
274 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
276 # Test requires turbofan:
277 'test-simplified-lowering/LowerStringOps_to_call_and_compare': [SKIP],
278 'codegen-tester/CompareWrapper': [SKIP],
279 'codegen-tester/ParametersEqual': [SKIP],
280 }], # 'arch == mips64el'
282 ##############################################################################
285 # Test requires turbofan:
286 'codegen-tester/CompareWrapper': [SKIP],
287 'codegen-tester/ParametersEqual': [SKIP],
288 'test-simplified-lowering/LowerStringOps_to_call_and_compare': [SKIP],
291 ##############################################################################
292 ['arch == android_arm or arch == android_ia32', {
294 # Tests crash as there is no /tmp directory in Android.
295 'test-log/LogAccessorCallbacks': [SKIP],
296 'test-log/LogCallbacks': [SKIP],
297 'test-log/ProfLazyMode': [SKIP],
298 }], # 'arch == android_arm or arch == android_ia32'
300 ##############################################################################
301 ['arch == nacl_ia32 or arch == nacl_x64', {
303 # NaCl builds have problems with threaded tests since Pepper_28.
305 'test-api/Threading1': [SKIP],
306 'test-lockers/ExtensionsRegistration': [SKIP],
308 # These tests fail as there is no /tmp directory in Native Client.
309 'test-log/LogAccessorCallbacks': [SKIP],
310 'test-log/LogCallbacks': [SKIP],
311 'test-log/ProfLazyMode': [SKIP],
313 # Native Client doesn't support sockets.
314 'test-debug/DebuggerAgent': [SKIP],
315 'test-debug/DebuggerAgentProtocolOverflowHeader': [SKIP],
316 'test-socket/Socket': [SKIP],
318 # Profiling doesn't work on Native Client.
319 'test-cpu-profiler/*': [SKIP],
321 # Fails since 16322 (new test).
322 'test-code-stubs-arm/ConvertDToI': [SKIP],
325 'test-macro-assembler-arm/LoadAndStoreWithRepresentation': [SKIP],
328 'test-api/PreCompileInvalidPreparseDataError': [SKIP],
330 'test-types/Convert' : [SKIP],
331 'test-symbols/Create' : [SKIP],
332 'test-parsing/ParserSync' : [SKIP],
333 'test-parsing/ErrorsEvalAndArguments' : [SKIP],
334 'test-parsing/ErrorsFutureStrictReservedWords' : [SKIP],
335 'test-parsing/ErrorsReservedWords' : [SKIP],
336 'test-parsing/ErrorsYieldStrict' : [SKIP],
337 'test-parsing/ErrorsNotAnIdentifierName' : [SKIP],
338 'test-parsing/FunctionDeclaresItselfStrict' : [SKIP],
339 'test-parsing/ErrorsObjectLiteralChecking' : [SKIP],
340 'test-parsing/InvalidLeftHandSide' : [SKIP],
341 'test-heap/GarbageCollection' : [SKIP],
342 'test-heap/GlobalHandles' : [SKIP],
343 'test-heap/WeakGlobalHandlesScavenge' : [SKIP],
344 'test-heap/DeleteWeakGlobalHandle' : [SKIP],
345 'test-heap/GrowAndShrinkNewSpace' : [SKIP],
346 'test-heap/OptimizedAllocationAlwaysInNewSpace' : [SKIP],
347 'test-heap/OptimizedPretenuringAllocationFolding' : [SKIP],
348 'test-heap/OptimizedPretenuringObjectArrayLiterals' : [SKIP],
349 'test-heap/OptimizedPretenuringAllocationFoldingBlocks' : [SKIP],
350 'test-heap/OptimizedPretenuringMixedInObjectProperties' : [SKIP],
351 'test-heap/OptimizedPretenuringDoubleArrayProperties' : [SKIP],
352 'test-heap/OptimizedPretenuringdoubleArrayLiterals' : [SKIP],
353 'test-heap/OptimizedPretenuringNestedMixedArrayLiterals' : [SKIP],
354 'test-heap/OptimizedPretenuringNestedObjectLiterals' : [SKIP],
355 'test-heap/OptimizedPretenuringNestedDoubleLiterals' : [SKIP],
356 'test-heap/Regress169928' : [SKIP],
357 'test-decls/Unknown' : [SKIP],
358 'test-decls/Present' : [SKIP],
359 'test-decls/Absent' : [SKIP],
360 'test-decls/Appearing' : [SKIP],
361 'test-decls/Reappearing' : [SKIP],
362 'test-decls/ExistsInPrototype' : [SKIP],
363 'test-decls/AbsentInPrototype' : [SKIP],
364 'test-decls/ExistsInHiddenPrototype' : [SKIP],
365 'test-debug/ConditionalScriptBreakPoint' : [SKIP],
366 'test-debug/DebugEvaluate' : [SKIP],
367 'test-debug/ConditionalBreakpointWithCodeGenerationDisallowed' : [SKIP],
368 'test-debug/DebugEvaluateWithCodeGenerationDisallowed' : [SKIP],
369 'test-debug/DebugBreak' : [SKIP],
370 'test-debug/ThreadedDebugging' : [SKIP],
371 'test-debug/RecursiveBreakpoints' : [SKIP],
372 'test-dictionary/HashMap' : [SKIP],
373 'test-debug/Backtrace' : [SKIP],
374 'test-debug/DebugBreakLoop' : [SKIP],
375 'test-constantpool/ConstantPool' : [SKIP],
376 'test-compiler/GetScriptLineNumber' : [SKIP],
377 'test-api/ScriptMakingExternalString' : [SKIP],
378 'test-api/ScriptMakingExternalOneByteString' : [SKIP],
379 'test-api/MakingExternalStringConditions' : [SKIP],
380 'test-api/MakingExternalOneByteStringConditions' : [SKIP],
381 'test-api/MakingExternalUnalignedOneByteString' : [SKIP],
382 'test-api/IndexedInterceptorUnboxedDoubleWithIndexedAccessor' : [SKIP],
383 'test-api/IndependentWeakHandle' : [SKIP],
384 'test-api/GCFromWeakCallbacks' : [SKIP],
385 'test-api/IndependentHandleRevival' : [SKIP],
386 'test-api/StringWrite' : [SKIP],
387 'test-api/Threading3' : [SKIP],
388 'test-api/Threading4' : [SKIP],
389 'test-api/Threading2' : [SKIP],
390 'test-api/FixedFloat32Array' : [SKIP],
391 'test-api/FixedFloat64Array' : [SKIP],
392 'test-api/ExternalFloat32Array' : [SKIP],
393 'test-api/ExternalFloat64Array' : [SKIP],
394 'test-api/ExternalArrays' : [SKIP],
395 'test-api/Float32Array' : [SKIP],
396 'test-api/Float64Array' : [SKIP],
397 'test-api/Regress2333' : [SKIP],
398 'test-alloc/StressHandles' : [SKIP],
399 'test-alloc/StressJS' : [SKIP],
400 'test-accessors/HandleScopePop' : [SKIP],
401 'test-accessors/Gc' : [SKIP],
403 }], # 'arch == nacl_ia32 or arch == nacl_x64'
407 'test-log/EquivalenceOfLoggingAndTraversal' : [SKIP],
408 }], # 'arch == ppc64'