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],
67 # This tests only the type system, so there is no point in running several
69 'test-hydrogen-types/*': [PASS, NO_VARIANTS],
70 'test-types/*': [PASS, NO_VARIANTS],
72 # The cpu profiler tests are notoriously flaky.
73 # BUG(2999). (test/cpu-profiler/CollectCpuProfile)
74 # BUG(3287). (test-cpu-profiler/SampleWhenFrameIsNotSetup)
75 'test-cpu-profiler/CollectCpuProfile': [SKIP],
76 'test-cpu-profiler/CollectCpuProfileSamples': [SKIP],
77 'test-cpu-profiler/FunctionApplySample': [SKIP],
78 'test-cpu-profiler/FunctionCallSample': [SKIP],
79 'test-cpu-profiler/SampleWhenFrameIsNotSetup': [SKIP],
80 'test-cpu-profiler/HotDeoptNoFrameEntry': [SKIP],
81 'test-cpu-profiler/BoundFunctionCall': [SKIP],
82 'test-cpu-profiler/CpuProfileDeepStack': [SKIP],
83 'test-cpu-profiler/JsNativeJsSample': [SKIP],
84 'test-cpu-profiler/JsNativeJsRuntimeJsSample': [SKIP],
85 'test-cpu-profiler/JsNative1JsNative2JsSample': [SKIP],
87 # BUG(3525). Test crashes flakily.
88 'test-debug/RecursiveBreakpoints': [PASS, FLAKY],
89 'test-debug/RecursiveBreakpointsGlobal': [PASS, FLAKY],
92 'test-debug/ProcessDebugMessagesThreaded': [PASS, FLAKY],
94 ##############################################################################
95 # TurboFan compiler failures.
97 # Some tests are just too slow to run for now.
98 'test-api/Threading*': [PASS, NO_VARIANTS],
99 'test-heap/IncrementalMarkingStepMakesBigProgressWithLargeObjects': [PASS, NO_VARIANTS],
100 'test-heap-profiler/ManyLocalsInSharedContext': [PASS, NO_VARIANTS],
101 'test-debug/ThreadedDebugging': [PASS, NO_VARIANTS],
102 'test-debug/DebugBreakLoop': [PASS, NO_VARIANTS],
104 'test-mark-compact/MarkCompactCollector': [PASS, ['arch==arm', NO_VARIANTS]],
106 # TODO(jarin): Cannot lazy-deoptimize from conversions before comparisons.
107 'test-js-typed-lowering/OrderCompareEffects': [SKIP],
109 # TODO(jochen): Reenable after we removed the CHECK() from the marking queue.
110 'test-mark-compact/MarkingDeque': [SKIP],
112 'test-heap/TestInternalWeakLists': [PASS, ['arch==arm', NO_VARIANTS]],
113 'test-heap/TestInternalWeakListsTraverseWithGC': [PASS, ['arch==arm', NO_VARIANTS]],
115 ############################################################################
117 'test-api/Threading1': [PASS, ['mode == debug', SLOW]],
118 'test-api/Threading2': [PASS, ['mode == debug', SLOW]],
119 'test-api/Threading3': [PASS, ['mode == debug', SLOW]],
120 'test-api/Threading4': [PASS, ['mode == debug', SLOW]],
121 'test-strings/StringOOM*': [PASS, ['mode == debug', SKIP]],
124 ##############################################################################
127 'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],
129 'test-api/Bug618': [PASS],
132 'test-serialize/DeserializeFromSecondSerialization': [PASS, FAIL],
133 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [PASS, FAIL],
136 'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
139 'test-strings/OneByteArrayJoin': [PASS, ['mode == debug', FAIL]],
142 'test-mark-compact/NoPromotion': [SKIP],
145 'test-mark-compact/Promotion': [PASS, FAIL],
148 ' test-api/LoadICFastApi_DirectCall_GCMoveStubWithProfiler': [SKIP],
149 }], # 'arch == arm64'
151 ['arch == arm64 and simulator_run == True', {
153 # Pass but take too long with the simulator.
154 'test-api/ExternalArrays': [PASS, TIMEOUT],
155 'test-api/Threading1': [SKIP],
156 'test-api/Threading2': [SKIP],
157 }], # 'arch == arm64 and simulator_run == True'
159 ['arch == arm64 and mode == debug and simulator_run == True', {
161 # Pass but take too long with the simulator in debug mode.
162 'test-api/ExternalDoubleArray': [SKIP],
163 'test-api/ExternalFloat32Array': [SKIP],
164 'test-api/ExternalFloat64Array': [SKIP],
165 'test-api/ExternalFloatArray': [SKIP],
166 'test-api/Float32Array': [SKIP],
167 'test-api/Float64Array': [SKIP],
168 'test-debug/DebugBreakLoop': [SKIP],
169 }], # 'arch == arm64 and mode == debug and simulator_run == True'
171 ##############################################################################
173 # Skip tests not suitable for ASAN.
174 'test-assembler-x64/AssemblerX64XchglOperations': [SKIP],
177 ##############################################################################
178 ['no_snap == True', {
179 }], # 'no_snap == True'
181 ##############################################################################
182 # TODO(machenbach): Fix application of '*'. Nosnap windows needs a separate
183 # section to not overwrite the expectations for TestThatAlwaysFails.
184 ['no_snap == True and system == windows', {
185 # Windows doesn't support nosnap mode.
186 'test-serialize/*': [SKIP],
187 }], # 'no_snap == True and system == windows'
189 ##############################################################################
190 ['system == windows', {
193 'test-alloc/CodeRange': [PASS, FAIL],
195 # BUG(3331). Fails on windows.
196 'test-heap/NoWeakHashTableLeakWithIncrementalMarking': [SKIP],
198 }], # 'system == windows'
200 ##############################################################################
201 ['system == macos', {
204 'test-debug/DebugGetLoadedScripts': [PASS, FLAKY],
205 'test-debug/DebugStepLinear': [PASS, FLAKY],
206 'test-debug/DebuggerClearMessageHandler': [PASS, FLAKY],
207 }], # 'system == macos'
209 ##############################################################################
212 'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],
214 # BUG(355): Test crashes on ARM.
215 'test-log/ProfLazyMode': [SKIP],
217 # BUG(1075): Unresolved crashes.
218 'test-serialize/Deserialize': [SKIP],
219 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
220 'test-serialize/DeserializeAndRunScript2': [SKIP],
221 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
223 ############################################################################
225 'test-api/Threading1': [PASS, SLOW],
226 'test-api/Threading2': [PASS, SLOW],
227 'test-api/Threading3': [PASS, SLOW],
228 'test-api/Threading4': [PASS, SLOW],
230 # Crashes due to OOM in simulator.
231 'test-types/Distributivity1': [PASS, FLAKY],
232 'test-types/Distributivity2': [PASS, FLAKY],
235 ##############################################################################
236 ['arch == mipsel or arch == mips', {
237 'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],
239 # BUG(1075): Unresolved crashes on MIPS also.
240 'test-serialize/Deserialize': [SKIP],
241 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
242 'test-serialize/DeserializeAndRunScript2': [SKIP],
243 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
244 }], # 'arch == mipsel or arch == mips'
246 ##############################################################################
249 'test-api/ExternalArrays': [PASS, NO_VARIANTS],
251 # TODO(mips-team): Currently fails on mips board.
252 'test-simplified-lowering/RunNumberMultiply_TruncatingToUint32': [SKIP],
253 'test-parsing/TooManyArguments': [SKIP],
254 'test-api/Threading3': [SKIP],
255 'test-api/RequestInterruptTestWithNativeAccessor': [SKIP],
256 'test-api/RequestInterruptTestWithAccessor': [SKIP],
259 ##############################################################################
260 ['arch == mips64el', {
261 'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],
264 'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
266 # BUG(1075): Unresolved crashes on MIPS also.
267 'test-serialize/Deserialize': [SKIP],
268 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
269 'test-serialize/DeserializeAndRunScript2': [SKIP],
270 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
271 }], # 'arch == mips64el'
273 ##############################################################################
276 # Test requires turbofan:
277 'codegen-tester/CompareWrapper': [SKIP],
278 'codegen-tester/ParametersEqual': [SKIP],
279 'test-simplified-lowering/LowerStringOps_to_call_and_compare': [SKIP],
280 'test-serialize/SerializeInternalReference': [FAIL],
283 ##############################################################################
284 ['arch == android_arm or arch == android_ia32', {
286 # Tests crash as there is no /tmp directory in Android.
287 'test-log/LogAccessorCallbacks': [SKIP],
288 'test-log/LogCallbacks': [SKIP],
289 'test-log/ProfLazyMode': [SKIP],
290 }], # 'arch == android_arm or arch == android_ia32'
292 ##############################################################################
293 ['arch == nacl_ia32 or arch == nacl_x64', {
295 # NaCl builds have problems with threaded tests since Pepper_28.
297 'test-api/Threading1': [SKIP],
298 'test-lockers/ExtensionsRegistration': [SKIP],
300 # These tests fail as there is no /tmp directory in Native Client.
301 'test-log/LogAccessorCallbacks': [SKIP],
302 'test-log/LogCallbacks': [SKIP],
303 'test-log/ProfLazyMode': [SKIP],
305 # Native Client doesn't support sockets.
306 'test-debug/DebuggerAgent': [SKIP],
307 'test-debug/DebuggerAgentProtocolOverflowHeader': [SKIP],
308 'test-socket/Socket': [SKIP],
310 # Profiling doesn't work on Native Client.
311 'test-cpu-profiler/*': [SKIP],
313 # Fails since 16322 (new test).
314 'test-code-stubs-arm/ConvertDToI': [SKIP],
317 'test-macro-assembler-arm/LoadAndStoreWithRepresentation': [SKIP],
320 'test-api/PreCompileInvalidPreparseDataError': [SKIP],
322 'test-types/Convert' : [SKIP],
323 'test-symbols/Create' : [SKIP],
324 'test-parsing/ParserSync' : [SKIP],
325 'test-parsing/ErrorsEvalAndArguments' : [SKIP],
326 'test-parsing/ErrorsFutureStrictReservedWords' : [SKIP],
327 'test-parsing/ErrorsReservedWords' : [SKIP],
328 'test-parsing/ErrorsYieldStrict' : [SKIP],
329 'test-parsing/ErrorsNotAnIdentifierName' : [SKIP],
330 'test-parsing/FunctionDeclaresItselfStrict' : [SKIP],
331 'test-parsing/ErrorsObjectLiteralChecking' : [SKIP],
332 'test-parsing/InvalidLeftHandSide' : [SKIP],
333 'test-heap/GarbageCollection' : [SKIP],
334 'test-heap/GlobalHandles' : [SKIP],
335 'test-heap/WeakGlobalHandlesScavenge' : [SKIP],
336 'test-heap/DeleteWeakGlobalHandle' : [SKIP],
337 'test-heap/GrowAndShrinkNewSpace' : [SKIP],
338 'test-heap/OptimizedAllocationAlwaysInNewSpace' : [SKIP],
339 'test-heap/OptimizedPretenuringAllocationFolding' : [SKIP],
340 'test-heap/OptimizedPretenuringObjectArrayLiterals' : [SKIP],
341 'test-heap/OptimizedPretenuringAllocationFoldingBlocks' : [SKIP],
342 'test-heap/OptimizedPretenuringMixedInObjectProperties' : [SKIP],
343 'test-heap/OptimizedPretenuringDoubleArrayProperties' : [SKIP],
344 'test-heap/OptimizedPretenuringdoubleArrayLiterals' : [SKIP],
345 'test-heap/OptimizedPretenuringNestedMixedArrayLiterals' : [SKIP],
346 'test-heap/OptimizedPretenuringNestedObjectLiterals' : [SKIP],
347 'test-heap/OptimizedPretenuringNestedDoubleLiterals' : [SKIP],
348 'test-heap/Regress169928' : [SKIP],
349 'test-decls/Unknown' : [SKIP],
350 'test-decls/Present' : [SKIP],
351 'test-decls/Absent' : [SKIP],
352 'test-decls/Appearing' : [SKIP],
353 'test-decls/Reappearing' : [SKIP],
354 'test-decls/ExistsInPrototype' : [SKIP],
355 'test-decls/AbsentInPrototype' : [SKIP],
356 'test-decls/ExistsInHiddenPrototype' : [SKIP],
357 'test-debug/ConditionalScriptBreakPoint' : [SKIP],
358 'test-debug/DebugEvaluate' : [SKIP],
359 'test-debug/ConditionalBreakpointWithCodeGenerationDisallowed' : [SKIP],
360 'test-debug/DebugEvaluateWithCodeGenerationDisallowed' : [SKIP],
361 'test-debug/DebugBreak' : [SKIP],
362 'test-debug/ThreadedDebugging' : [SKIP],
363 'test-debug/RecursiveBreakpoints' : [SKIP],
364 'test-dictionary/HashMap' : [SKIP],
365 'test-debug/Backtrace' : [SKIP],
366 'test-debug/DebugBreakLoop' : [SKIP],
367 'test-constantpool/ConstantPool' : [SKIP],
368 'test-compiler/GetScriptLineNumber' : [SKIP],
369 'test-api/ScriptMakingExternalString' : [SKIP],
370 'test-api/ScriptMakingExternalOneByteString' : [SKIP],
371 'test-api/MakingExternalStringConditions' : [SKIP],
372 'test-api/MakingExternalOneByteStringConditions' : [SKIP],
373 'test-api/MakingExternalUnalignedOneByteString' : [SKIP],
374 'test-api/IndexedInterceptorUnboxedDoubleWithIndexedAccessor' : [SKIP],
375 'test-api/IndependentWeakHandle' : [SKIP],
376 'test-api/GCFromWeakCallbacks' : [SKIP],
377 'test-api/IndependentHandleRevival' : [SKIP],
378 'test-api/StringWrite' : [SKIP],
379 'test-api/Threading3' : [SKIP],
380 'test-api/Threading4' : [SKIP],
381 'test-api/Threading2' : [SKIP],
382 'test-api/FixedFloat32Array' : [SKIP],
383 'test-api/FixedFloat64Array' : [SKIP],
384 'test-api/ExternalFloat32Array' : [SKIP],
385 'test-api/ExternalFloat64Array' : [SKIP],
386 'test-api/ExternalArrays' : [SKIP],
387 'test-api/Float32Array' : [SKIP],
388 'test-api/Float64Array' : [SKIP],
389 'test-api/Regress2333' : [SKIP],
390 'test-alloc/StressHandles' : [SKIP],
391 'test-alloc/StressJS' : [SKIP],
392 'test-accessors/HandleScopePop' : [SKIP],
393 'test-accessors/Gc' : [SKIP],
395 }], # 'arch == nacl_ia32 or arch == nacl_x64'
397 ##############################################################################
398 ['arch == ppc and simulator_run == True or arch == ppc64 and simulator_run == True', {
400 # Pass but take too long with the simulator.
401 'test-api/Threading1': [PASS, SLOW],
402 'test-api/Threading2': [PASS, SLOW],
403 'test-api/ExternalArrays': [PASS, SLOW],
405 }], # 'arch == ppc64 and simulator_run == True'