summaryrefslogtreecommitdiff
path: root/deps/v8/test/unittests/unittests.status
blob: ffe19b464c2b10c22d65313d3b8bcdf5c1d556d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
# Copyright 2014 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

[

[ALWAYS, {
  'IntlTest.StringLocaleCompareFastPath': [['mode != release', SKIP], SLOW, NO_VARIANTS],

  # BUG(5193). The cpu profiler tests are notoriously flaky.
  'SamplerTest.LibSamplerCollectSample': [SKIP],

  # This tests only the type system, no point in running several variants.
  'TypesTest.*': [PASS, NO_VARIANTS],

  # These tests are supposed to fail in a slow DCHECK, skip them otherwise.
  'LocalHandlesTest.DereferenceLocalHandleFailsWhenDisallowed': [SKIP, ['mode == debug', FAIL]],
  'PersistentHandlesTest.DereferencePersistentHandleFailsWhenDisallowed': [SKIP, ['mode == debug', FAIL]],

  # https://crbug.com/v8/8919
  'PlatformTest.StackAlignment': [PASS, ['not is_clang', SKIP]],

  # We do not yet shrink weak maps after they have been emptied by the GC
  'WeakMapsTest.Shrinking': [FAIL],

  'WeakSetsTest.WeakSet_Shrinking': [FAIL],

  # This tests only that the preparser and parser agree, so there is no point in
  # running several variants. Note that this still takes ages, because there
  # are actually 13 * 38 * 5 * 128 = 316160 individual tests hidden here.
  'ParsingTest.ParserSync': [PASS, NO_VARIANTS],

  # Slow tests.
  'ParsingTest.ObjectRestNegativeTestSlow': [PASS, ['mode == debug', SKIP]],

  # BUG(13660): Flaky test.
  'OS.RemapPages': [SKIP],
}],  # ALWAYS

##############################################################################
['mode == debug', {
  'PersistentHandlesTest.NewPersistentHandleFailsWhenParked': [FAIL],
  'PersistentHandlesTest.NewPersistentHandleFailsWhenParkedExplicit': [FAIL],
}],

##############################################################################
['system == macos and asan', {
  # BUG(820416).
  'BitsDeathTest*': [SKIP],
  'LiveRangeUnitTest*': [SKIP],
  'LoggingDeathTest*': [SKIP],
  'LoggingTest.CompareClassTypes': [SKIP],
  'LoggingTest.CompareWithDifferentSignedness': [SKIP],
  'LoggingTest.CompareWithReferenceType': [SKIP],
  'RandomNumberGenerator.NextSampleInvalidParam': [SKIP],
  'RandomNumberGenerator.NextSampleSlowInvalidParam1': [SKIP],
  'RandomNumberGenerator.NextSampleSlowInvalidParam2': [SKIP],
}],  # system == macos and asan

['system == macos and arch == arm64 and not simulator_run', {
  # Throwing C++ exceptions doesn't work; probably because the unittests
  # binary is built with -fno-exceptions?
  'LanguageServerJson.*': [SKIP],
  'LanguageServer.*': [SKIP],
  'Torque.*': [SKIP],

  # Test uses fancy signal handling. Needs investigation.
  'MemoryAllocationPermissionsTest.DoTest': [SKIP],

  # Time tick resolution appears to be ~42 microseconds. Tests expect 1 us.
  'TimeTicks.NowResolution': [FAIL],
  'RuntimeCallStatsTest.BasicJavaScript': [SKIP],
  'RuntimeCallStatsTest.FunctionLengthGetter': [SKIP],
}],  # system == macos and arch == arm64 and not simulator_run

# TODO(v8:12824): Enable this test once this is resolved.
['arch == arm64 and msan', {
  'WeakContainerTest.ConservativeGCTracesWeakContainer': [SKIP],
}],  # arch == arm64 and msan

##############################################################################
# TODO(v8:7777): Change this once wasm is supported in jitless mode.
['not has_webassembly or variant == jitless', {
  'ValueSerializerTestWithSharedArrayBufferClone.RoundTripWebAssemblyMemory': [SKIP],
  'ValueSerializerTestWithWasm.*': [SKIP],
  'ApiWasmTest.WasmStreaming*': [SKIP],
  'ApiWasmTest.WasmCompileToWasmModuleObject': [SKIP],
  'ApiWasmTest.WasmStreamingCallback': [SKIP],
}],  # not has_webassembly or variant == jitless

##############################################################################
['system == aix', {
  # PASE does not support detecting physical memory size
  'SysInfoTest.AmountOfPhysicalMemory': [SKIP],
}],  # system == aix

##############################################################################
['system == aix and component_build', {
  # FreezeFlags relies on mprotect() method, which does not work by default on
  # shared memory
  # https://www.ibm.com/docs/en/aix/7.2?topic=m-mprotect-subroutine
  'FlagDefinitionsTest.FreezeFlags': [SKIP],
}],  # system == aix and component_build

##############################################################################
['arch == ppc64', {
  # PPC Page size is too large for these tests.
  'HeapStatisticsCollectorTest.BriefStatisticsWithDiscardingOnNormalPage': [SKIP],
  'HeapStatisticsCollectorTest.DetailedStatisticsWithDiscardingOnNormalPage': [SKIP],
  'SweeperTest.DiscardingNormalPageMemory': [SKIP],

  # https://crbug.com/v8/8766
  'BytecodeGeneratorTest.WideRegisters': [SKIP],
}],  # arch == ppc64

##############################################################################
['arch == mips64el', {
  # TODO(mips-team): mips64 do not allocate odd register in liftoff.
  'WasmRegisterTest.SpreadSetBitsToAdjacentFpRegs': [SKIP],
}],  # 'arch == mips64'

##############################################################################
['system == windows and asan', {
  # BUG(893437).
  'Torque*': [SKIP],

  # Hangs on asan.
  'PageMemoryRegionDeathTest*': [SKIP],
}],  # system == windows and asan

['system == windows and arch == x64 and mode == release', {
  # BUG(992783).
  'Torque.ConditionalFields': [SKIP],
  'Torque.UsingUnderscorePrefixedIdentifierError': [SKIP],
}],  # system == windows and arch == x64 and mode == release

##############################################################################
['asan == True', {
  # Skip tests not suitable for ASAN.
  'AssemblerX64.AssemblerX64XchglOperations': [SKIP],
}],  # 'asan == True'

['tsan == True', {
  # https://crbug.com/v8/9380
  # The test is broken and needs to be fixed to use separate isolates.
  'BackingStoreTest.RacyGrowWasmMemoryInPlace': [SKIP],

  # Tests that need to run sequentially (e.g. due to memory consumption).
  'MachineOperatorReducerTest.Word32EqualWithShiftedMaskedValueAndConstant': [PASS, HEAVY],
  'SequentialUnmapperTest.UnmapOnTeardown': [PASS, HEAVY],

  # https://crbug.com/v8/12997
  # These skips should be removed after tsan errors in libsampler are fixed.
  'LogMapsCodeTest.LogMapsDetailsCode': [SKIP],
  'LogMapsTest.LogMapsDetailsStartup': [SKIP],
  'LogMapsTest.LogMapsDetailsContexts': [SKIP],
}],  # tsan == True

##############################################################################
['variant == stress_js_bg_compile_wasm_code_gc', {
  # The test relies on deterministic allocation during compilation.
  'CompilerTest.DeepEagerCompilationPeakMemory': [SKIP],
}],  # variant == stress_js_bg_compile_wasm_code_gc

##############################################################################
['not pointer_compression', {
  # Tests are irrelevant without pointer compression
  'DecompressionOptimizerTest.*': [SKIP],
}],  # not pointer_compression

##############################################################################
['variant == stress_incremental_marking', {
  # BUG(v8:11820): the test adjusts GC flags, which does not work
  # if GC starts before the test.
  'RuntimeCallStatsTest.GarbageCollection': [SKIP],
}],  # variant == stress_incremental_marking

################################################################################
['variant == stress_snapshot', {
  '*': [SKIP],  # only relevant for mjsunit tests.
}],

################################################################################
['is_clang == False and (arch == riscv64 or arch == riscv32)',{
  'LoggingTest.SourceLocation':[SKIP]  # issue-174
}],

##############################################################################
['lite_mode', {
  # TODO(mythria): Code logging tests that currently fail with lazy feedback
  # allocation. Fix logging to work without feedback vectors and enable these
  # tests in lite_mode.
  'LogExternalInterpretedFramesNativeStackTest.ExternalLogEventListenerWithInterpretedFramesNativeStack': [SKIP],
  'LogInterpretedFramesNativeStackTest.LogInterpretedFramesNativeStack': [SKIP],
  'LogInterpretedFramesNativeStackWithSerializationTest.LogInterpretedFramesNativeStackWithSerialization': [SKIP],
}], # lite_mode

##############################################################################
['variant == jitless', {
  # --interpreted-frames-native-stack tests
  'LogExternalInterpretedFramesNativeStackTest.ExternalLogEventListenerWithInterpretedFramesNativeStack': [SKIP],
  'LogInterpretedFramesNativeStackTest.LogInterpretedFramesNativeStack': [SKIP],
  'LogInterpretedFramesNativeStackWithSerializationTest.LogInterpretedFramesNativeStackWithSerialization': [SKIP],
  'InterpreterTest.InterpreterWithNativeStack': [SKIP],
}], # jitless

##############################################################################
['jitless_build_mode', {
  # Feedback collection maintenance is (mostly) disabled.
  'FeedbackVectorTest.Vector*': [SKIP],
  'InterpreterTest.InterpreterBigIntComparisons': [SKIP],
  'InterpreterTest.InterpreterBinaryOpSmiTypeFeedback': [SKIP],
  'InterpreterTest.InterpreterUnaryOpFeedback': [SKIP],
  'InterpreterTest.InterpreterStringComparisons': [SKIP],
  'InterpreterTest.InterpreterSmiComparisons': [SKIP],
  'InterpreterTest.InterpreterStringAdd': [SKIP],
  'InterpreterTest.InterpreterMixedComparisons': [SKIP],
  'InterpreterTest.InterpreterHeapNumberComparisons': [SKIP],
  'InterpreterTest.InterpreterBinaryOpsBigInt': [SKIP],
  'InterpreterTest.InterpreterBinaryOpTypeFeedback': [SKIP],
  'InterpreterTest.InterpreterBitwiseTypeFeedback': [SKIP],
  # These require executable code space.
  'AssemblerX64Test.*': [SKIP],
}],  # jitless_build_mode

################################################################################
['third_party_heap', {
  # Tests on OptimizingCompileDispatcher
  'OptimizingCompileDispatcherTest.NonBlockingFlush': [SKIP],
  'OptimizingCompileDispatcherTest.Construct': [SKIP],
  # Test V8 stock GC
  'SpacesTest.CompactionSpaceMerge': [SKIP],
  # Requires --concurrent_inlining / --finalize_streaming_on_background:
  'LocalFactoryTest.AstConsString_CreatesConsString': [SKIP],
  'LocalFactoryTest.AstRawString_IsInternalized': [SKIP],
  'LocalFactoryTest.EagerFunction': [SKIP],
  'LocalFactoryTest.EmptyScript': [SKIP],
  'LocalFactoryTest.GCDuringPublish': [SKIP],
  'LocalFactoryTest.ImplicitNameFunction': [SKIP],
  'LocalFactoryTest.LazyFunction': [SKIP],
  'LocalFactoryTest.OneByteInternalizedString_DuplicateIsDeduplicated': [SKIP],
  'LocalFactoryTest.OneByteInternalizedString_IsAddedToStringTable': [SKIP],
  # Requires write barriers
  'SpacesTest.WriteBarrierFromHeapObject': [SKIP],
  'SpacesTest.WriteBarrierInYoungGenerationToSpace': [SKIP],
  'SpacesTest.WriteBarrierInYoungGenerationFromSpace': [SKIP],
  # Requires a second isolate
  'ValueSerializerTest.DecodeArrayBufferOOM': [SKIP],
  'LogExternalLogEventListenerInnerFunctionTest.ExternalLogEventListenerInnerFunctions': [SKIP],
  'LogInterpretedFramesNativeStackWithSerializationTest.LogInterpretedFramesNativeStackWithSerialization': [SKIP],
  'ManagedTest.*': [SKIP],

  # Performs GC
  'APIExceptionTest.ExceptionMessageDoesNotKeepContextAlive': [SKIP],
  'GlobalHandlesTest.FinalizerDiesAndKeepsPhantomAliveOnMarkCompact': [SKIP],
  'GlobalHandlesTest.FinalizerWeakness': [SKIP],
  'GlobalHandlesTest.GCFromWeakCallbacks': [SKIP],
  'GlobalHandlesTest.PhantomHandlesWithoutCallbacks': [SKIP],
  'GlobalHandlesTest.SecondPassPhantomCallbacks': [SKIP],
  'GlobalHandlesTest.WeakHandleToUnmodifiedJSApiObjectDiesOnMarkCompact': [SKIP],
  'GlobalHandlesTest.WeakHandleToUnmodifiedJSObjectDiesOnMarkCompact': [SKIP],
  'LocalHeapTest.GCEpilogue': [SKIP],
  'UnifiedHeapDetachedTest.AllocationBeforeConfigureHeap': [SKIP],
  'UnifiedHeapTest.FindingV8ToBlinkReference': [SKIP],
  'ManagedTest.GCCausesDestruction': [SKIP],
  'WeakMapsTest.WeakMapsWithChainedEntries': [SKIP],
  'WeakMapsTest.Weakness': [SKIP],
  'WeakSetsTest.WeakSet_Weakness': [SKIP],

  # CodeRange tests
  'CodePagesTest.LargeCodeObjectWithSignalHandler': [SKIP],
  'CodePagesTest.LargeCodeObject': [SKIP],
  'CodePagesTest.OptimizedCodeWithCodeRange': [SKIP],
  'CodePagesTest.Sorted': [SKIP],
  'CodePagesTest.CodeRangeCorrectContents': [SKIP],

  # Access chunk metadata
  'RootsTest.TestHeapRootsNotReadOnly': [SKIP],
  'RootsTest.TestReadOnlyRoots': [SKIP],

  # Expects OOM
  'FactoryCodeBuilderOOMTest.Factory_CodeBuilder_BuildOOM': [SKIP],
  'FactoryCodeBuilderOOMTest.Factory_CodeBuilder_TryBuildOOM': [SKIP],
}], # third_party_heap

##############################################################################
['byteorder == big', {
  # Peephole optimization not supported on big-endian machines.
  'RegExpTest.Peephole*': [SKIP],
}],  # 'byteorder == big'

##############################################################################
['lite_mode or variant == jitless', {

  # Tests that generate code at runtime.
  'CodePagesTest.*': [SKIP],
  'MacroAssemblerX64Test.EmbeddedObj': [SKIP],
  'RegExpTest.MacroAssemblernativeAtStart': [SKIP],
  'RegExpTest.MacroAssemblerNativeBackReferenceLATIN1': [SKIP],
  'RegExpTest.MacroAssemblerNativeBackReferenceUC16': [SKIP],
  'RegExpTest.MacroAssemblerNativeBackRefNoCase': [SKIP],
  'RegExpTest.MacroAssemblerNativeBacktrack': [SKIP],
  'RegExpTest.MacroAssemblerNativeLotsOfRegisters': [SKIP],
  'RegExpTest.MacroAssemblerNativeRegisters': [SKIP],
  'RegExpTest.MacroAssemblerNativeSimple': [SKIP],
  'RegExpTest.MacroAssemblerNativeSimpleUC16': [SKIP],
  'RegExpTest.MacroAssemblerNativeSuccess': [SKIP],
  'RegExpTest.MacroAssemblerStackOverflow': [SKIP],
  'RegExpTest.Graph': [SKIP],
  'SloppyEqualityTest.*' : [SKIP],
  'DisasmX64Test.*': [SKIP],
  'RunBytecodeGraphBuilderTest.*': [SKIP],
  'RunJSBranchesTest.*': [SKIP],
  'RunJSCallsTest.*': [SKIP],
  'RunJSExceptionsTest.*': [SKIP],
  'RunJSObjectsTest.*': [SKIP],
  'RunJSOpsTest.*': [SKIP],
  'RunTailCallsTest.*': [SKIP],

  # Tests generated irregexp code.
  'RegExpTestWithContext.RegExpInterruptReentrantExecution': [SKIP],
}], # lite_mode or variant == jitless

##############################################################################
['variant == no_wasm_traps', {
  'APIExceptionTest.*': [SKIP],
  'LogTest.*': [SKIP],
  'TestWithIsolate.Issue23768': [SKIP],
  'LogAllTest.LogAll': [SKIP],
  'LogInterpretedFramesNativeStackTest.LogInterpretedFramesNativeStack': [SKIP],
  'LogInterpretedFramesNativeStackWithSerializationTest.LogInterpretedFramesNativeStackWithSerialization': [SKIP],
  'LogExternalLogEventListenerTest.ExternalLogEventListener': [SKIP],
  'LogExternalLogEventListenerInnerFunctionTest.ExternalLogEventListenerInnerFunctions': [SKIP],
  'LogExternalInterpretedFramesNativeStackTest.ExternalLogEventListenerWithInterpretedFramesNativeStack': [SKIP],
  'LogMapsTest.*': [SKIP],
  'LogMapsCodeTest.LogMapsDetailsCode': [SKIP],
  'LogFunctionEventsTest.LogFunctionEvents': [SKIP],
  'BignumDtoaTest.*': [SKIP],
  'DtoaTest.*': [SKIP],
  'DeclsTest.*': [SKIP],
  'GlobalHandlesTest.*': [SKIP],
  'ParsingTest/*': [SKIP],
}],  # variant == no_wasm_traps

##############################################################################
['no_i18n == True', {
  'RegExpTestWithContext.UnicodePropertyEscapeCodeSize': [SKIP],
}],  # no_i18n == True

##############################################################################
['no_simd_hardware == True', {
  'WasmDisassemblerTest.Simd': [SKIP],
}],  # no_simd_hardware == True

['tsan and mode == debug', {
  'LazyCompileDispatcherTest.CompileLazy2FinishesDispatcherJob': [SKIP],
}]

]