cctest.status 17.7 KB
Newer Older
1
# Copyright 2011 the V8 project authors. All rights reserved.
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
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
#     * Redistributions of source code must retain the above copyright
#       notice, this list of conditions and the following disclaimer.
#     * Redistributions in binary form must reproduce the above
#       copyright notice, this list of conditions and the following
#       disclaimer in the documentation and/or other materials provided
#       with the distribution.
#     * Neither the name of Google Inc. nor the names of its
#       contributors may be used to endorse or promote products derived
#       from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

28 29 30 31
[
[ALWAYS, {
  # All tests prefixed with 'Bug' are expected to fail.
  'test-api/Bug*': [FAIL],
32

33
  ##############################################################################
34

35 36
  # BUG(382): Weird test. Can't guarantee that it never times out.
  'test-api/ApplyInterruption': [PASS, TIMEOUT],
37

38 39 40
  # These tests always fail.  They are here to test test.py.  If
  # they don't fail then test.py has failed.
  'test-serialize/TestThatAlwaysFails': [FAIL],
fedor's avatar
fedor committed
41
  'test-api/SealHandleScope': [FAIL],
42

43 44
  # This test always fails.  It tests that LiveEdit causes abort when turned off.
  'test-debug/LiveEditDisabled': [FAIL],
45

46 47 48 49
  # This test always fails.  It tests that DisallowJavascriptExecutionScope
  # works as intended.
  'test-api/DisallowJavascriptExecutionScope': [FAIL],

50 51
  # TODO(gc): Temporarily disabled in the GC branch.
  'test-log/EquivalenceOfLoggingAndTraversal': [PASS, FAIL],
52

53 54 55
  # We do not yet shrink weak maps after they have been emptied by the GC
  'test-weakmaps/Shrinking': [FAIL],
  'test-weaksets/WeakSet_Shrinking': [FAIL],
56

57 58
  # Boot up memory use is bloated in debug mode.
  'test-mark-compact/BootUpMemoryUse': [PASS, PASS, ['mode == debug', FAIL]],
59 60 61 62 63

  # 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.
  'test-parsing/ParserSync': [PASS, NO_VARIANTS],
64

65
  # This tests only the type system, no point in running several variants.
66
  'test-hydrogen-types/*': [PASS, NO_VARIANTS],
67
  'test-types/*': [PASS, NO_VARIANTS],
68
  'test-ast-types/*': [PASS, NO_VARIANTS],
69

70
  # This tests API threading, no point in running several variants.
71 72
  # They are also slow in debug mode.
  'test-api/Threading*': [PASS, NO_VARIANTS, ['mode == debug', SLOW]],
73

alph's avatar
alph committed
74
  # BUG(2999). The cpu profiler tests are notoriously flaky.
75
  'test-cpu-profiler/CpuProfileDeepStack': [SKIP],
76
  'test-cpu-profiler/CollectCpuProfile': [SKIP],
alph's avatar
alph committed
77
  'test-cpu-profiler/HotDeoptNoFrameEntry': [SKIP],
78
  'test-cpu-profiler/SampleWhenFrameIsNotSetup': [SKIP],
79

machenbach's avatar
machenbach committed
80 81
  # BUG(v8:4358). Hangs flakily.
  'test-debug/ProcessDebugMessagesThreaded': [SKIP],
82

83 84 85
  # BUG(2340). Preprocessing stack traces is disabled at the moment.
  'test-heap/PreprocessStackTrace': [FAIL],

86 87 88 89
  # BUG(4333). Function name inferrer does not work for ES6 clases.
  'test-func-name-inference/UpperCaseClass': [FAIL],
  'test-func-name-inference/LowerCaseClass': [FAIL],

90 91
  # BUG(3742).
  'test-mark-compact/MarkCompactCollector': [PASS, ['arch==arm', NO_VARIANTS]],
92

93 94 95
  # Test that serialization with unknown external reference fails.
  'test-serialize/SnapshotCreatorUnknownExternalReferences': [FAIL],

96 97
  ############################################################################
  # Slow tests.
98
  'test-debug/CallFunctionInDebugger': [PASS, ['mode == debug', SLOW]],
99
  'test-strings/StringOOM*': [PASS, ['mode == debug', SKIP]],
100
  'test-serialize/CustomSnapshotDataBlobImmortalImmovableRoots': [PASS, ['mode == debug', SKIP]],
101
}],  # ALWAYS
102

103
##############################################################################
104
['arch == arm64', {
105

106 107
  'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],

108
  'test-api/Bug618': [PASS],
109

110
  # BUG(v8:3385).
111 112
  'test-serialize/StartupSerializerOnceRunScript': [PASS, FAIL],
  'test-serialize/StartupSerializerTwiceRunScript': [PASS, FAIL],
113

114
  # BUG(v8:3154).
115
  'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
116 117

  # BUG(v8:3155).
118
  'test-strings/OneByteArrayJoin': [PASS, ['mode == debug', FAIL]],
119 120 121

  # BUG(v8:3247).
  'test-mark-compact/NoPromotion': [SKIP],
122

123 124 125 126
  # BUG(v8:3446).
  'test-mark-compact/Promotion': [PASS, FAIL],

  # BUG(v8:3434).
127
  ' test-api/LoadICFastApi_DirectCall_GCMoveStubWithProfiler': [SKIP],
128
}],  # 'arch == arm64'
129

130
['arch == arm64 and simulator_run == True', {
131 132 133

  # Pass but take too long with the simulator.
  'test-api/ExternalArrays': [PASS, TIMEOUT],
134
}],  # 'arch == arm64 and simulator_run == True'
135

136
['arch == arm64 and mode == debug and simulator_run == True', {
137 138 139 140 141 142 143 144

  # Pass but take too long with the simulator in debug mode.
  'test-api/ExternalDoubleArray': [SKIP],
  'test-api/ExternalFloat32Array': [SKIP],
  'test-api/ExternalFloat64Array': [SKIP],
  'test-api/ExternalFloatArray': [SKIP],
  'test-api/Float32Array': [SKIP],
  'test-api/Float64Array': [SKIP],
145
}],  # 'arch == arm64 and mode == debug and simulator_run == True'
146

147 148 149 150
##############################################################################
['asan == True', {
  # Skip tests not suitable for ASAN.
  'test-assembler-x64/AssemblerX64XchglOperations': [SKIP],
151 152 153 154 155 156

  # BUG(v8:5243).
  'test-cpu-profiler/JsNative1JsNative2JsSample': [SKIP],
  'test-cpu-profiler/JsNativeJsRuntimeJsSample': [SKIP],
  'test-cpu-profiler/JsNativeJsRuntimeJsSampleMultiple': [SKIP],
  'test-cpu-profiler/JsNativeJsSample': [SKIP],
157 158
}],  # 'asan == True'

159
##############################################################################
160 161 162
['msan == True', {
  # ICU upstream issues.
  'test-strings/CountBreakIterator': [SKIP],
163 164

  # Slow tests.
165
  'test-api/Threading*': [PASS, SLOW],
166 167 168
}],  # 'msan == True'

##############################################################################
169
['no_snap == True', {
170 171 172 173
  # Slow tests.
  'test-api/ExternalWrap': [PASS, SLOW],
  'test-api/FastReturnValues*': [PASS, SLOW],
  'test-decls/CrossScriptReferences_Simple2': [PASS, SLOW],
174
}],  # 'no_snap == True'
175

176 177 178 179
##############################################################################
# TODO(machenbach): Fix application of '*'. Nosnap windows needs a separate
# section to not overwrite the expectations for TestThatAlwaysFails.
['no_snap == True and system == windows', {
180
  # Windows doesn't support nosnap mode.
181 182
  'test-serialize/*': [SKIP],
}],  # 'no_snap == True and system == windows'
183

184 185 186
##############################################################################
['system == windows', {

187 188 189
  # BUG(3331). Fails on windows.
  'test-heap/NoWeakHashTableLeakWithIncrementalMarking': [SKIP],

190 191
  # BUG(v8:4573).
  'test-api/MultipleIsolatesOnIndividualThreads': [PASS, NO_VARIANTS],
192 193

  # BUG(v8:4642).
194
  'test-lockers/LockAndUnlockDifferentIsolates': [PASS, NO_VARIANTS],
195 196 197

  # BUG(v8:2999,v8:4751).
  'test-cpu-profiler/CollectDeoptEvents': [SKIP],
198 199
  'test-cpu-profiler/FunctionCallSample': [SKIP],
  'test-cpu-profiler/JsNativeJsRuntimeJsSample': [SKIP],
200 201 202
  'test-cpu-profiler/JsNativeJsRuntimeJsSampleMultiple': [SKIP],
  'test-cpu-profiler/JsNativeJsSample': [SKIP],
  'test-cpu-profiler/JsNative1JsNative2JsSample': [SKIP],
203 204 205

  # BUG(5193): Flaky timeout.
  'test-sampler/LibSamplerCollectSample': [PASS, ['arch == x64', SKIP]],
206 207
}],  # 'system == windows'

208
##############################################################################
209 210
['arch == arm', {

211 212
  'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],

213 214 215 216
  # BUG(355): Test crashes on ARM.
  'test-log/ProfLazyMode': [SKIP],

  # BUG(1075): Unresolved crashes.
217 218 219 220
  'test-serialize/StartupSerializerOnce': [SKIP],
  'test-serialize/StartupSerializerTwice': [SKIP],
  'test-serialize/StartupSerializerOnceRunScript': [SKIP],
  'test-serialize/StartupSerializerTwiceRunScript': [SKIP],
221 222 223

  ############################################################################
  # Slow tests.
224
  'test-api/Threading*': [PASS, SLOW],
225
}],  # 'arch == arm'
226

227
##############################################################################
228
['arch == mipsel or arch == mips', {
229 230
  'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],

231 232 233
  # TODO(mips-team): Improve code-size on large RegExp's.
  'test-heap/TestSizeOfRegExpCode':  [SKIP],

234
  # BUG(1075): Unresolved crashes on MIPS also.
235 236 237 238
  'test-serialize/StartupSerializerOnce': [SKIP],
  'test-serialize/StartupSerializerTwice': [SKIP],
  'test-serialize/StartupSerializerOnceRunScript': [SKIP],
  'test-serialize/StartupSerializerTwiceRunScript': [SKIP],
239
}],  # 'arch == mipsel or arch == mips'
240

241 242 243 244 245 246 247
##############################################################################
['arch == mips', {
  # Too slow with TF.
  'test-api/ExternalArrays': [PASS, NO_VARIANTS],

  # TODO(mips-team): Currently fails on mips board.
  'test-parsing/TooManyArguments': [SKIP],
248 249
  'test-api/Threading5': [SKIP],
  'test-api/Threading6': [SKIP],
250 251
}],  # 'arch == mips'

252
##############################################################################
253
['arch == mips64el or arch == mips64', {
254 255
  'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],

256 257 258
  # BUG(v8:3154).
  'test-heap/ReleaseOverReservedPages': [PASS, FAIL],

259 260 261
  # TODO(mips-team): Improve code-size on large RegExp's.
  'test-heap/TestSizeOfRegExpCode':  [SKIP],

262
  # BUG(1075): Unresolved crashes on MIPS also.
263 264 265 266
  'test-serialize/StartupSerializerOnce': [SKIP],
  'test-serialize/StartupSerializerTwice': [SKIP],
  'test-serialize/StartupSerializerOnceRunScript': [SKIP],
  'test-serialize/StartupSerializerTwiceRunScript': [SKIP],
267
}],  # 'arch == mips64el or arch == mips64'
268

269 270
##############################################################################
['arch == x87', {
271 272 273 274 275
  'test-run-machops/RunFloat64InsertLowWord32': [SKIP],
  'test-run-native-calls/MixedParams_0': [SKIP],
  'test-run-native-calls/MixedParams_1': [SKIP],
  'test-run-native-calls/MixedParams_2': [SKIP],
  'test-run-native-calls/MixedParams_3': [SKIP],
276 277 278 279
  'test-run-machops/RunFloat64MulAndFloat64Add1': [SKIP],
  'test-run-machops/RunFloat64MulAndFloat64Add2': [SKIP],
  'test-run-machops/RunFloat64MulAndFloat64Sub1': [SKIP],
  'test-run-machops/RunFloat64MulAndFloat64Sub2': [SKIP],
280 281 282 283
  'test-run-machops/RunFloat64Sin': [SKIP],
  'test-run-machops/RunFloat64Cos': [SKIP],
  'test-run-machops/RunFloat64Expm1': [SKIP],
  'test-run-machops/RunFloat64Tan': [SKIP],
284
  'test-cpu-profiler/Inlining': [SKIP],
285
  'test-gap-resolver/FuzzResolver': [SKIP],
286 287
  'test-run-wasm/RunWasmCompiled_MultiReturnSelect_f32': [SKIP],
  'test-run-wasm/RunWasmCompiled_MultiReturnSelect_f64': [SKIP],
288 289
}],  # 'arch == x87'

290
##############################################################################
291
['arch == android_arm or arch == android_ia32', {
292

293 294 295 296 297
  # Tests crash as there is no /tmp directory in Android.
  'test-log/LogAccessorCallbacks': [SKIP],
  'test-log/LogCallbacks': [SKIP],
  'test-log/ProfLazyMode': [SKIP],
}],  # 'arch == android_arm or arch == android_ia32'
298

299 300 301 302 303 304 305 306
##############################################################################
['system == aix and arch == ppc64', {

  # BUG 2857
  'test-log/EquivalenceOfLoggingAndTraversal' : [SKIP],

}],  # 'system == aix and arch == ppc64'

307 308 309
##############################################################################
['system == aix or (arch == ppc64 and byteorder == big)', {

310
  # TODO(ppc): Fix for platforms with function desciptors.
311
  'test-run-machops/RunComputedCodeObject' : [SKIP],
312 313 314
  'test-run-wasm-module/Run_WasmModule_Return114' : [SKIP],
  'test-run-wasm-module/Run_WasmModule_CallAdd' : [SKIP],
  'test-run-wasm-module/Run_WasmModule_CallMain_recursive' : [SKIP],
315 316 317

}],  # 'system == aix or (arch == ppc64 and byteorder == big)'

318 319 320 321
##############################################################################
['arch == ppc and simulator_run == True or arch == ppc64 and simulator_run == True', {

  # Pass but take too long with the simulator.
322
  'test-api/Threading*': [PASS, SLOW],
michael_dawson's avatar
michael_dawson committed
323
  'test-api/ExternalArrays': [PASS, SLOW],
324 325

}],  # 'arch == ppc64 and simulator_run == True'
326

327
##############################################################################
328 329 330
['variant == turbofan_opt', {
  # TODO(mythria,4680): Lack of code-ageing in interpreter.
  'test-heap/Regress169209': [FAIL],
331

332 333 334
  # TODO(mythria,4680): Lack of code-ageing and/or lack of compilation cache
  # in interpreter.
  'test-heap/CompilationCacheCachingBehavior': [FAIL],
335

336 337 338 339 340 341 342 343 344 345 346 347 348 349 350
  # TODO(mstarzinger): Triggers Ignition+TurboFan on everything now and makes
  # the stack traces within the profilers look different. Needs investigation.
  'test-api/SetFunctionEntryHook': [SKIP],
  'test-cpu-profiler/BoundFunctionCall': [FAIL],
  'test-cpu-profiler/CollectSampleAPI': [FAIL],
  'test-cpu-profiler/FunctionApplySample': [FAIL],
  'test-cpu-profiler/FunctionCallSample': [FAIL],
  'test-cpu-profiler/JsNativeJsRuntimeJsSample': [FAIL],
  'test-cpu-profiler/JsNativeJsSample': [FAIL],
  'test-cpu-profiler/JsNativeJsRuntimeJsSampleMultiple': [FAIL],
  'test-cpu-profiler/JsNative1JsNative2JsSample': [FAIL],
  'test-cpu-profiler/NativeMethodUninitializedIC': [FAIL],
  'test-cpu-profiler/NativeAccessorUninitializedIC': [FAIL],
  'test-profile-generator/LineNumber': [FAIL],
  'test-sampler-api/StackFramesConsistent': [FAIL],
351 352

  # BUG(v8:5457)
353
  'test-api/SetJitCodeEventHandler': [PASS, ['no_snap', SKIP]],
354 355
}],  # variant == turbofan_opt

356 357
##############################################################################
['variant == ignition', {
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372
  # TODO(rmcilroy,4680): Related to lack of code flushing. Check failed: !function->shared()->is_compiled() || function->IsOptimized().
  'test-heap/TestCodeFlushingPreAged': [FAIL],
  'test-heap/TestCodeFlushingIncrementalScavenge': [FAIL],
  'test-heap/TestCodeFlushing': [FAIL],
  'test-heap/TestCodeFlushingIncremental': [FAIL],
  'test-heap/TestCodeFlushingIncrementalAbort': [PASS, ['mode == debug or dcheck_always_on == True', FAIL]],

  # TODO(mythria,4680): Lack of code-ageing in interpreter.
  'test-heap/Regress169209': [FAIL],

  # TODO(mythria,4680): Lack of code-ageing and/or lack of compilation cache
  # in interpreter.
  'test-heap/CompilationCacheCachingBehavior': [FAIL],

  # BUG(4680): Missing type feedback makes optimistic optimizations fail.
373
  'test-cpu-profiler/DeoptUntrackedFunction': [SKIP],
374 375 376 377 378 379 380 381

  # BUG(4751). Flaky with ignition.
  'test-cpu-profiler/JsNativeJsSample': [PASS, FAIL],

  # TODO(ignition): Fails due to missing type info when optimizing from bytecode
  # with crankshaft.
  'test-cpu-profiler/TickLinesOptimized': [SKIP],

382 383
  # BUG(5193): Flaky.
  'test-cpu-profiler/FunctionApplySample': [PASS, ['system == windows', SKIP]],
384 385
}],  # variant == ignition

386 387
##############################################################################
['variant == ignition_staging', {
388
  'test-cpu-profiler/DeoptUntrackedFunction': [SKIP],
389 390 391 392 393 394 395
  'test-cpu-profiler/TickLinesOptimized': [SKIP],
  'test-heap/CompilationCacheCachingBehavior': [FAIL],
  'test-heap/Regress169209': [FAIL],
  'test-heap/TestCodeFlushing': [FAIL],
  'test-heap/TestCodeFlushingIncremental': [FAIL],
  'test-heap/TestCodeFlushingIncrementalScavenge': [FAIL],
  'test-heap/TestCodeFlushingPreAged': [FAIL],
396 397 398

  # BUG(5193): Flaky.
  'test-cpu-profiler/FunctionApplySample': [PASS, ['system == windows', SKIP]],
399 400
}],  # variant == ignition_staging

401
##############################################################################
402
['variant == turbofan or variant == ignition_turbofan', {
403
  # TODO(rmcilroy,4680): Related to lack of code flushing. Check failed: !function->shared()->is_compiled() || function->IsOptimized().
404 405 406 407
  'test-heap/TestCodeFlushingPreAged': [FAIL],
  'test-heap/TestCodeFlushingIncrementalScavenge': [FAIL],
  'test-heap/TestCodeFlushing': [FAIL],
  'test-heap/TestCodeFlushingIncremental': [FAIL],
408
  'test-heap/TestCodeFlushingIncrementalAbort': [PASS, ['mode == debug or dcheck_always_on == True', FAIL]],
409

410 411 412 413 414 415 416
  # TODO(mythria,4680): Lack of code-ageing in interpreter.
  'test-heap/Regress169209': [FAIL],

  # TODO(mythria,4680): Lack of code-ageing and/or lack of compilation cache
  # in interpreter.
  'test-heap/CompilationCacheCachingBehavior': [FAIL],

417 418
  # BUG(4680): Missing type feedback makes optimistic optimizations fail.
  'test-cpu-profiler/CollectDeoptEvents': [FAIL],
419
  'test-cpu-profiler/DeoptUntrackedFunction': [SKIP],
420

421 422
  # BUG(4751). Flaky with Ignition.
  'test-cpu-profiler/JsNativeJsSample': [SKIP],
423 424 425 426

  # TurboFan cpu profiler result is different.
  'test-cpu-profiler/DeoptAtFirstLevelInlinedSource': [FAIL],
  'test-cpu-profiler/DeoptAtSecondLevelInlinedSource': [FAIL],
427 428 429

  # BUG(5193): Flaky.
  'test-cpu-profiler/FunctionApplySample': [PASS, ['system == windows', SKIP]],
430
}],  # variant == turbofan or variant == ignition_turbofan
431

432 433
##############################################################################
['variant != ignition and variant != ignition_staging and variant != ignition_turbofan', {
434 435 436
  # Ongoing implementation of modules.
  # https://bugs.chromium.org/p/v8/issues/detail?id=1569
  'test-modules/*': [SKIP],
437 438 439 440 441 442
}],  # variant != ignition and variant != ignition_staging and variant != ignition_turbofan

##############################################################################
['variant == asm_wasm', {
  '*': [SKIP],
}],  # variant == asm_wasm
443

444
]