c58b1f020427fd8e1c539ad6d8a062cd78911cd8
[platform/upstream/nodejs.git] / deps / v8 / test / cctest / cctest.status
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
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
28 [
29 [ALWAYS, {
30   # All tests prefixed with 'Bug' are expected to fail.
31   'test-api/Bug*': [FAIL],
32   'test-serialize/Bug*': [FAIL],
33
34   ##############################################################################
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   'test-api/SealHandleScope': [FAIL],
44
45   # This test always fails.  It tests that LiveEdit causes abort when turned off.
46   'test-debug/LiveEditDisabled': [FAIL],
47
48   # This test always fails.  It tests that DisallowJavascriptExecutionScope
49   # works as intended.
50   'test-api/DisallowJavascriptExecutionScope': [FAIL],
51
52   # TODO(gc): Temporarily disabled in the GC branch.
53   'test-log/EquivalenceOfLoggingAndTraversal': [PASS, FAIL],
54
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],
58
59   # Boot up memory use is bloated in debug mode.
60   'test-mark-compact/BootUpMemoryUse': [PASS, PASS, ['mode == debug', FAIL]],
61
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],
66
67   # Modules are busted
68   'test-parsing/ExportsMaybeAssigned': [SKIP],
69
70   # This tests only the type system, so there is no point in running several
71   # variants.
72   'test-hydrogen-types/*': [PASS, NO_VARIANTS],
73   'test-types/*': [PASS, NO_VARIANTS],
74
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],
80
81   # BUG(3525). Test crashes flakily.
82   'test-debug/RecursiveBreakpoints': [PASS, FLAKY],
83   'test-debug/RecursiveBreakpointsGlobal': [PASS, FLAKY],
84
85   ##############################################################################
86   # TurboFan compiler failures.
87
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],
94   # BUG(3742).
95   'test-mark-compact/MarkCompactCollector': [PASS, ['arch==arm', NO_VARIANTS]],
96
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],
101
102   # TODO(jochen): Reenable after we removed the CHECK() from the marking queue.
103   'test-mark-compact/MarkingDeque': [SKIP],
104
105   ############################################################################
106   # Slow tests.
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]],
112 }],  # ALWAYS
113
114 ##############################################################################
115 ['arch == arm64', {
116
117   'test-api/Bug618': [PASS],
118
119   # BUG(v8:3385).
120   'test-serialize/DeserializeFromSecondSerialization': [PASS, FAIL],
121   'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [PASS, FAIL],
122
123   # BUG(v8:2999).
124   'test-cpu-profiler/CollectCpuProfile': [PASS, FAIL],
125
126   # BUG(v8:3154).
127   'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
128
129   # BUG(v8:3155).
130   'test-strings/OneByteArrayJoin': [PASS, ['mode == debug', FAIL]],
131
132   # BUG(v8:3247).
133   'test-mark-compact/NoPromotion': [SKIP],
134
135   # BUG(v8:3446).
136   'test-mark-compact/Promotion': [PASS, FAIL],
137
138   # BUG(v8:3434).
139   ' test-api/LoadICFastApi_DirectCall_GCMoveStubWithProfiler': [SKIP],
140 }],  # 'arch == arm64'
141
142 ['arch == arm64 and simulator_run == True', {
143
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'
149
150 ['arch == arm64 and mode == debug and simulator_run == True', {
151
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'
161
162 ##############################################################################
163 ['asan == True', {
164   # Skip tests not suitable for ASAN.
165   'test-assembler-x64/AssemblerX64XchglOperations': [SKIP],
166 }],  # 'asan == True'
167
168 ##############################################################################
169 ['no_snap == True', {
170 }],  # 'no_snap == True'
171
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'
179
180 ##############################################################################
181 ['system == windows', {
182
183   # BUG(2999).
184   'test-cpu-profiler/CollectCpuProfile': [PASS, FAIL],
185
186   # BUG(3005).
187   'test-alloc/CodeRange': [PASS, FAIL],
188
189   # BUG(3331). Fails on windows.
190   'test-heap/NoWeakHashTableLeakWithIncrementalMarking': [SKIP],
191
192   # BUG(v8:3433). Crashes on windows.
193   'test-cpu-profiler/FunctionApplySample': [SKIP],
194
195 }],  # 'system == windows'
196
197 ##############################################################################
198 ['system == macos', {
199
200   # BUG(3125).
201   'test-debug/DebugGetLoadedScripts': [PASS, FLAKY],
202   'test-debug/DebugStepLinear': [PASS, FLAKY],
203   'test-debug/DebuggerClearMessageHandler': [PASS, FLAKY],
204 }],  # 'system == macos'
205
206 ##############################################################################
207 ['arch == arm', {
208
209   # BUG(355): Test crashes on ARM.
210   'test-log/ProfLazyMode': [SKIP],
211
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],
217
218   ############################################################################
219   # Slow tests.
220   'test-api/Threading1': [PASS, SLOW],
221   'test-api/Threading2': [PASS, SLOW],
222   'test-api/Threading3': [PASS, SLOW],
223   'test-api/Threading4': [PASS, SLOW],
224
225   # Crashes due to OOM in simulator.
226   'test-types/Distributivity1': [PASS, FLAKY],
227   'test-types/Distributivity2': [PASS, FLAKY],
228 }],  # 'arch == arm'
229
230 ##############################################################################
231 ['arch == mipsel or arch == mips', {
232
233   # BUG(2657): Test sometimes times out on MIPS simulator.
234   'test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate': [PASS, TIMEOUT],
235
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],
241
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'
247
248 ##############################################################################
249 ['arch == mips', {
250   # Too slow with TF.
251   'test-api/ExternalArrays': [PASS, NO_VARIANTS],
252
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],
259 }],  # 'arch == mips'
260
261 ##############################################################################
262 ['arch == mips64el', {
263
264   # BUG(2657): Test sometimes times out on MIPS simulator.
265   'test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate': [PASS, TIMEOUT],
266
267   # BUG(v8:3154).
268   'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
269
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],
275
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'
281
282 ##############################################################################
283 ['arch == x87', {
284
285   # Test requires turbofan:
286   'codegen-tester/CompareWrapper': [SKIP],
287   'codegen-tester/ParametersEqual': [SKIP],
288   'test-simplified-lowering/LowerStringOps_to_call_and_compare': [SKIP],
289 }],  # 'arch == x87'
290
291 ##############################################################################
292 ['arch == android_arm or arch == android_ia32', {
293
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'
299
300 ##############################################################################
301 ['arch == nacl_ia32 or arch == nacl_x64', {
302
303   # NaCl builds have problems with threaded tests since Pepper_28.
304   # V8 Issue 2786
305   'test-api/Threading1': [SKIP],
306   'test-lockers/ExtensionsRegistration': [SKIP],
307
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],
312
313   # Native Client doesn't support sockets.
314   'test-debug/DebuggerAgent': [SKIP],
315   'test-debug/DebuggerAgentProtocolOverflowHeader': [SKIP],
316   'test-socket/Socket': [SKIP],
317
318   # Profiling doesn't work on Native Client.
319   'test-cpu-profiler/*': [SKIP],
320
321   # Fails since 16322 (new test).
322   'test-code-stubs-arm/ConvertDToI': [SKIP],
323
324   # BUG(2998).
325   'test-macro-assembler-arm/LoadAndStoreWithRepresentation': [SKIP],
326
327   # BUG(3150).
328   'test-api/PreCompileInvalidPreparseDataError': [SKIP],
329
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],
402
403 }],  # 'arch == nacl_ia32 or arch == nacl_x64'
404
405 ['arch == ppc64', {
406   #issue 2857
407   'test-log/EquivalenceOfLoggingAndTraversal' : [SKIP],
408 }],  # 'arch == ppc64'
409 ]