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 ##############################################################################
34 # BUG(382): Weird test. Can't guarantee that it never times out.
35 'test-api/ApplyInterruption': [PASS, TIMEOUT],
37 # TODO(mstarzinger): Fail gracefully on multiple V8::Dispose calls.
38 'test-api/InitializeAndDisposeOnce': [SKIP],
39 'test-api/InitializeAndDisposeMultiple': [SKIP],
41 # These tests always fail. They are here to test test.py. If
42 # they don't fail then test.py has failed.
43 'test-serialize/TestThatAlwaysFails': [FAIL],
44 'test-serialize/DependentTestThatAlwaysFails': [FAIL],
46 # This test always fails. It tests that LiveEdit causes abort when turned off.
47 'test-debug/LiveEditDisabled': [FAIL],
49 # This test always fails. It tests that DisallowJavascriptExecutionScope
51 'test-api/DisallowJavascriptExecutionScope': [FAIL],
53 # TODO(gc): Temporarily disabled in the GC branch.
54 'test-log/EquivalenceOfLoggingAndTraversal': [PASS, FAIL],
56 # We do not yet shrink weak maps after they have been emptied by the GC
57 'test-weakmaps/Shrinking': [FAIL],
58 'test-weaksets/WeakSet_Shrinking': [FAIL],
60 # Boot up memory use is bloated in debug mode.
61 'test-mark-compact/BootUpMemoryUse': [PASS, PASS, ['mode == debug', FAIL]],
63 # This tests only that the preparser and parser agree, so there is no point in
64 # running several variants. Note that this still takes ages, because there
65 # are actually 13 * 38 * 5 * 128 = 316160 individual tests hidden here.
66 'test-parsing/ParserSync': [PASS, NO_VARIANTS],
68 # This tests only the type system, so there is no point in running several
70 'test-hydrogen-types/*': [PASS, NO_VARIANTS],
71 # TODO(ningxin): Temporarily disabled in M37, look at this in M38.
72 'test-types/Distributivity1': [SKIP],
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],
80 # BUG(crbug/386492). This will be fixed by r22029.
81 'test-debug/ThreadedDebugging': [PASS, FAIL],
83 ############################################################################
85 'test-api/Threading1': [PASS, ['mode == debug', SLOW]],
86 'test-api/Threading2': [PASS, ['mode == debug', SLOW]],
87 'test-api/Threading3': [PASS, ['mode == debug', SLOW]],
88 'test-api/Threading4': [PASS, ['mode == debug', SLOW]],
89 'test-strings/StringOOM*': [PASS, ['mode == debug', SKIP]],
92 ##############################################################################
95 'test-api/Bug618': [PASS],
98 'test-serialize/DeserializeFromSecondSerialization': [PASS, FAIL],
99 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [PASS, FAIL],
102 'test-cpu-profiler/CollectCpuProfile': [PASS, FAIL],
105 'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
108 'test-strings/AsciiArrayJoin': [PASS, ['mode == debug', FAIL]],
111 'test-mark-compact/NoPromotion': [SKIP],
112 }], # 'arch == arm64'
114 ['arch == arm64 and simulator_run == True', {
116 # Pass but take too long with the simulator.
117 'test-api/ExternalArrays': [PASS, TIMEOUT],
118 'test-api/Threading1': [SKIP],
119 }], # 'arch == arm64 and simulator_run == True'
121 ['arch == arm64 and mode == debug and simulator_run == True', {
123 # Pass but take too long with the simulator in debug mode.
124 'test-api/ExternalDoubleArray': [SKIP],
125 'test-api/ExternalFloat32Array': [SKIP],
126 'test-api/ExternalFloat64Array': [SKIP],
127 'test-api/ExternalFloatArray': [SKIP],
128 'test-api/Float32Array': [SKIP],
129 'test-api/Float64Array': [SKIP],
130 'test-debug/DebugBreakLoop': [SKIP],
131 }], # 'arch == arm64 and mode == debug and simulator_run == True'
133 ##############################################################################
135 # Skip tests not suitable for ASAN.
136 'test-assembler-x64/AssemblerX64XchglOperations': [SKIP],
137 'test-lockers/MultithreadedParallelIsolates': [SKIP],
140 ##############################################################################
141 ['no_snap == True', {
143 'test-lockers/MultithreadedParallelIsolates': [PASS, FAIL],
144 }], # 'no_snap == True'
146 ##############################################################################
147 # TODO(machenbach): Fix application of '*'. Nosnap windows needs a separate
148 # section to not overwrite the expectations for TestThatAlwaysFails.
149 ['no_snap == True and system == windows', {
150 # Windows doesn't support nosnap mode.
151 'test-serialize/*': [SKIP],
152 }], # 'no_snap == True and system == windows'
154 ##############################################################################
155 ['system == windows', {
158 'test-cpu-profiler/CollectCpuProfile': [PASS, FAIL],
161 'test-cpu-profiler/JsNative1JsNative2JsSample': [PASS, ['mode == release', FAIL], ['mode == debug', FLAKY]],
164 'test-alloc/CodeRange': [PASS, FAIL],
166 # BUG(3215). Crashes on windows.
167 'test-lockers/MultithreadedParallelIsolates': [SKIP],
169 # BUG(3331). Fails on windows.
170 'test-heap/NoWeakHashTableLeakWithIncrementalMarking': [SKIP],
172 }], # 'system == windows'
174 ##############################################################################
175 ['system == macos', {
178 'test-debug/DebugGetLoadedScripts': [PASS, FLAKY],
179 'test-debug/DebugStepLinear': [PASS, FLAKY],
180 'test-debug/DebuggerClearMessageHandler': [PASS, FLAKY],
181 }], # 'system == macos'
183 ##############################################################################
186 # BUG(355): Test crashes on ARM.
187 'test-log/ProfLazyMode': [SKIP],
189 # BUG(1075): Unresolved crashes.
190 'test-serialize/Deserialize': [SKIP],
191 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
192 'test-serialize/DeserializeAndRunScript2': [SKIP],
193 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
195 ############################################################################
197 'test-api/Threading1': [PASS, SLOW],
198 'test-api/Threading2': [PASS, SLOW],
199 'test-api/Threading3': [PASS, SLOW],
200 'test-api/Threading4': [PASS, SLOW],
203 ##############################################################################
204 ['arch == mipsel or arch == mips', {
206 # BUG(2657): Test sometimes times out on MIPS simulator.
207 'test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate': [PASS, TIMEOUT],
209 # BUG(1075): Unresolved crashes on MIPS also.
210 'test-serialize/Deserialize': [SKIP],
211 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
212 'test-serialize/DeserializeAndRunScript2': [SKIP],
213 'test-serialize/DeserializeFromSecondSerialization': [SKIP],
214 }], # 'arch == mipsel or arch == mips'
216 ##############################################################################
219 # TODO (weiliang): Enable below tests after fixing the double register
220 # allocation limit in X87 port.
221 'test-serialize/Serialize': [PASS, ['mode == debug', SKIP]],
222 'test-serialize/Deserialize': [PASS, ['mode == debug', SKIP]],
223 'test-serialize/SerializeTwice': [PASS, ['mode == debug', SKIP]],
224 'test-serialize/ContextSerialization': [PASS, ['mode == debug', SKIP]],
225 'test-serialize/ContextDeserialization': [PASS, ['mode == debug', SKIP]],
226 'test-serialize/PartialDeserialization': [PASS, ['mode == debug', SKIP]],
227 'test-serialize/PartialSerialization': [PASS, ['mode == debug', SKIP]],
228 'test-serialize/DeserializeAndRunScript2': [PASS, ['mode == debug', SKIP]],
229 'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [PASS, ['mode == debug', SKIP]],
230 'test-serialize/DeserializeFromSecondSerialization': [PASS, ['mode == debug', SKIP]],
233 ##############################################################################
234 ['arch == android_arm or arch == android_ia32', {
236 # Tests crash as there is no /tmp directory in Android.
237 'test-log/LogAccessorCallbacks': [SKIP],
238 'test-log/LogCallbacks': [SKIP],
239 'test-log/ProfLazyMode': [SKIP],
241 # platform-tls.h does not contain an ANDROID-related header.
242 'test-platform-tls/FastTLS': [SKIP],
244 # This test times out.
245 'test-threads/ThreadJoinSelf': [SKIP],
246 }], # 'arch == android_arm or arch == android_ia32'
248 ##############################################################################
249 ['arch == nacl_ia32 or arch == nacl_x64', {
251 # NaCl builds have problems with threaded tests since Pepper_28.
253 'test-api/Threading1': [SKIP],
254 'test-lockers/MultithreadedParallelIsolates': [SKIP],
255 'test-lockers/ExtensionsRegistration': [SKIP],
257 # These tests fail as there is no /tmp directory in Native Client.
258 'test-log/LogAccessorCallbacks': [SKIP],
259 'test-log/LogCallbacks': [SKIP],
260 'test-log/ProfLazyMode': [SKIP],
262 # Native Client doesn't support sockets.
263 'test-debug/DebuggerAgent': [SKIP],
264 'test-debug/DebuggerAgentProtocolOverflowHeader': [SKIP],
265 'test-socket/Socket': [SKIP],
267 # Profiling doesn't work on Native Client.
268 'test-cpu-profiler/*': [SKIP],
270 # Fails since 16322 (new test).
271 'test-code-stubs-arm/ConvertDToI': [SKIP],
274 'test-macro-assembler-arm/LoadAndStoreWithRepresentation': [SKIP],
277 'test-api/PreCompileInvalidPreparseDataError': [SKIP],
279 'test-types/Convert' : [SKIP],
280 'test-symbols/Create' : [SKIP],
281 'test-parsing/ParserSync' : [SKIP],
282 'test-parsing/ErrorsEvalAndArguments' : [SKIP],
283 'test-parsing/ErrorsFutureStrictReservedWords' : [SKIP],
284 'test-parsing/ErrorsReservedWords' : [SKIP],
285 'test-parsing/ErrorsYieldStrict' : [SKIP],
286 'test-parsing/ErrorsNotAnIdentifierName' : [SKIP],
287 'test-parsing/FunctionDeclaresItselfStrict' : [SKIP],
288 'test-parsing/ErrorsObjectLiteralChecking' : [SKIP],
289 'test-parsing/InvalidLeftHandSide' : [SKIP],
290 'test-heap/GarbageCollection' : [SKIP],
291 'test-heap/GlobalHandles' : [SKIP],
292 'test-heap/WeakGlobalHandlesScavenge' : [SKIP],
293 'test-heap/DeleteWeakGlobalHandle' : [SKIP],
294 'test-heap/GrowAndShrinkNewSpace' : [SKIP],
295 'test-heap/OptimizedAllocationAlwaysInNewSpace' : [SKIP],
296 'test-heap/OptimizedPretenuringAllocationFolding' : [SKIP],
297 'test-heap/OptimizedPretenuringObjectArrayLiterals' : [SKIP],
298 'test-heap/OptimizedPretenuringAllocationFoldingBlocks' : [SKIP],
299 'test-heap/OptimizedPretenuringMixedInObjectProperties' : [SKIP],
300 'test-heap/OptimizedPretenuringDoubleArrayProperties' : [SKIP],
301 'test-heap/OptimizedPretenuringdoubleArrayLiterals' : [SKIP],
302 'test-heap/OptimizedPretenuringNestedMixedArrayLiterals' : [SKIP],
303 'test-heap/OptimizedPretenuringNestedObjectLiterals' : [SKIP],
304 'test-heap/OptimizedPretenuringNestedDoubleLiterals' : [SKIP],
305 'test-heap/Regress169928' : [SKIP],
306 'test-decls/Unknown' : [SKIP],
307 'test-decls/Present' : [SKIP],
308 'test-decls/Absent' : [SKIP],
309 'test-decls/Appearing' : [SKIP],
310 'test-decls/Reappearing' : [SKIP],
311 'test-decls/ExistsInPrototype' : [SKIP],
312 'test-decls/AbsentInPrototype' : [SKIP],
313 'test-decls/ExistsInHiddenPrototype' : [SKIP],
314 'test-debug/ConditionalScriptBreakPoint' : [SKIP],
315 'test-debug/DebugEvaluate' : [SKIP],
316 'test-debug/ConditionalBreakpointWithCodeGenerationDisallowed' : [SKIP],
317 'test-debug/DebugEvaluateWithCodeGenerationDisallowed' : [SKIP],
318 'test-debug/DebugBreak' : [SKIP],
319 'test-debug/ThreadedDebugging' : [SKIP],
320 'test-debug/RecursiveBreakpoints' : [SKIP],
321 'test-dictionary/HashMap' : [SKIP],
322 'test-debug/Backtrace' : [SKIP],
323 'test-debug/DebugBreakLoop' : [SKIP],
324 'test-constantpool/ConstantPool' : [SKIP],
325 'test-compiler/GetScriptLineNumber' : [SKIP],
326 'test-api/ScriptMakingExternalString' : [SKIP],
327 'test-api/ScriptMakingExternalAsciiString' : [SKIP],
328 'test-api/MakingExternalStringConditions' : [SKIP],
329 'test-api/MakingExternalAsciiStringConditions' : [SKIP],
330 'test-api/MakingExternalUnalignedAsciiString' : [SKIP],
331 'test-api/IndexedInterceptorUnboxedDoubleWithIndexedAccessor' : [SKIP],
332 'test-api/IndependentWeakHandle' : [SKIP],
333 'test-api/GCFromWeakCallbacks' : [SKIP],
334 'test-api/IndependentHandleRevival' : [SKIP],
335 'test-api/StringWrite' : [SKIP],
336 'test-api/Threading3' : [SKIP],
337 'test-api/Threading4' : [SKIP],
338 'test-api/Threading2' : [SKIP],
339 'test-api/FixedFloat32Array' : [SKIP],
340 'test-api/FixedFloat64Array' : [SKIP],
341 'test-api/ExternalFloat32Array' : [SKIP],
342 'test-api/ExternalFloat64Array' : [SKIP],
343 'test-api/ExternalArrays' : [SKIP],
344 'test-api/Float32Array' : [SKIP],
345 'test-api/Float64Array' : [SKIP],
346 'test-api/Regress2333' : [SKIP],
347 'test-alloc/StressHandles' : [SKIP],
348 'test-alloc/StressJS' : [SKIP],
349 'test-accessors/HandleScopePop' : [SKIP],
350 'test-accessors/Gc' : [SKIP],
352 }], # 'arch == nacl_ia32 or arch == nacl_x64'