2011-01-06 13:29:22 +00:00
|
|
|
# Copyright 2011 the V8 project authors. All rights reserved.
|
2008-09-02 15:20:38 +00:00
|
|
|
# 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.
|
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
[
|
|
|
|
[ALWAYS, {
|
|
|
|
# All tests prefixed with 'Bug' are expected to fail.
|
|
|
|
'test-api/Bug*': [FAIL],
|
2014-10-17 09:54:48 +00:00
|
|
|
'test-serialize/Bug*': [FAIL],
|
2008-09-02 15:20:38 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
##############################################################################
|
2014-07-24 11:16:01 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# BUG(382): Weird test. Can't guarantee that it never times out.
|
|
|
|
'test-api/ApplyInterruption': [PASS, TIMEOUT],
|
2010-03-04 15:04:04 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# 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],
|
2015-04-10 23:17:09 +00:00
|
|
|
'test-api/SealHandleScope': [FAIL],
|
2009-10-22 19:09:09 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# This test always fails. It tests that LiveEdit causes abort when turned off.
|
|
|
|
'test-debug/LiveEditDisabled': [FAIL],
|
2012-09-10 09:24:17 +00:00
|
|
|
|
2014-03-19 11:31:43 +00:00
|
|
|
# This test always fails. It tests that DisallowJavascriptExecutionScope
|
|
|
|
# works as intended.
|
|
|
|
'test-api/DisallowJavascriptExecutionScope': [FAIL],
|
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# TODO(gc): Temporarily disabled in the GC branch.
|
|
|
|
'test-log/EquivalenceOfLoggingAndTraversal': [PASS, FAIL],
|
2013-08-26 15:26:40 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# We do not yet shrink weak maps after they have been emptied by the GC
|
|
|
|
'test-weakmaps/Shrinking': [FAIL],
|
|
|
|
'test-weaksets/WeakSet_Shrinking': [FAIL],
|
2011-08-03 12:48:30 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# Boot up memory use is bloated in debug mode.
|
|
|
|
'test-mark-compact/BootUpMemoryUse': [PASS, PASS, ['mode == debug', FAIL]],
|
2013-10-22 09:13:33 +00:00
|
|
|
|
|
|
|
# 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],
|
2013-11-26 16:53:04 +00:00
|
|
|
|
2015-06-17 14:55:54 +00:00
|
|
|
# This tests only the type system, no point in running several variants.
|
2014-05-29 04:13:50 +00:00
|
|
|
'test-hydrogen-types/*': [PASS, NO_VARIANTS],
|
2014-04-10 08:04:50 +00:00
|
|
|
'test-types/*': [PASS, NO_VARIANTS],
|
|
|
|
|
2015-06-17 14:55:54 +00:00
|
|
|
# This tests API threading, no point in running several variants.
|
|
|
|
'test-api/Threading*': [PASS, NO_VARIANTS],
|
|
|
|
|
2016-02-08 18:12:04 +00:00
|
|
|
# BUG(2999). The cpu profiler tests are notoriously flaky.
|
2015-03-10 16:18:22 +00:00
|
|
|
'test-cpu-profiler/CpuProfileDeepStack': [SKIP],
|
2016-03-17 20:21:50 +00:00
|
|
|
'test-cpu-profiler/CollectCpuProfile': [SKIP],
|
2016-02-08 18:12:04 +00:00
|
|
|
'test-cpu-profiler/HotDeoptNoFrameEntry': [SKIP],
|
2016-02-29 12:13:31 +00:00
|
|
|
'test-cpu-profiler/SampleWhenFrameIsNotSetup': [SKIP],
|
2014-07-24 09:26:03 +00:00
|
|
|
|
2015-11-25 15:23:40 +00:00
|
|
|
# BUG(v8:4358). Hangs flakily.
|
|
|
|
'test-debug/ProcessDebugMessagesThreaded': [SKIP],
|
2015-03-12 08:15:48 +00:00
|
|
|
|
2015-04-30 15:04:17 +00:00
|
|
|
# BUG(2340). Preprocessing stack traces is disabled at the moment.
|
|
|
|
'test-heap/PreprocessStackTrace': [FAIL],
|
|
|
|
|
2015-07-30 09:21:16 +00:00
|
|
|
# BUG(4333). Function name inferrer does not work for ES6 clases.
|
|
|
|
'test-func-name-inference/UpperCaseClass': [FAIL],
|
|
|
|
'test-func-name-inference/LowerCaseClass': [FAIL],
|
|
|
|
|
2014-12-08 11:05:48 +00:00
|
|
|
# BUG(3742).
|
|
|
|
'test-mark-compact/MarkCompactCollector': [PASS, ['arch==arm', NO_VARIANTS]],
|
2014-07-30 13:54:45 +00:00
|
|
|
|
2013-11-26 16:53:04 +00:00
|
|
|
############################################################################
|
|
|
|
# Slow tests.
|
|
|
|
'test-api/Threading1': [PASS, ['mode == debug', SLOW]],
|
|
|
|
'test-api/Threading2': [PASS, ['mode == debug', SLOW]],
|
|
|
|
'test-api/Threading3': [PASS, ['mode == debug', SLOW]],
|
|
|
|
'test-api/Threading4': [PASS, ['mode == debug', SLOW]],
|
2015-10-01 19:18:51 +00:00
|
|
|
'test-debug/CallFunctionInDebugger': [PASS, ['mode == debug', SLOW]],
|
2014-03-25 09:09:24 +00:00
|
|
|
'test-strings/StringOOM*': [PASS, ['mode == debug', SKIP]],
|
2016-03-17 13:15:56 +00:00
|
|
|
'test-serialize/CustomSnapshotDataBlobImmortalImmovableRoots': [PASS, ['mode == debug', SKIP]],
|
2013-09-24 12:08:33 +00:00
|
|
|
}], # ALWAYS
|
2013-08-28 10:50:42 +00:00
|
|
|
|
2014-02-12 09:19:30 +00:00
|
|
|
##############################################################################
|
2014-03-21 09:28:26 +00:00
|
|
|
['arch == arm64', {
|
2014-02-12 09:19:30 +00:00
|
|
|
|
2015-03-10 16:18:22 +00:00
|
|
|
'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],
|
|
|
|
|
2014-02-12 09:19:30 +00:00
|
|
|
'test-api/Bug618': [PASS],
|
2014-02-12 10:29:18 +00:00
|
|
|
|
2014-06-10 13:23:05 +00:00
|
|
|
# BUG(v8:3385).
|
2016-03-10 09:57:47 +00:00
|
|
|
'test-serialize/StartupSerializerOnceRunScript': [PASS, FAIL],
|
|
|
|
'test-serialize/StartupSerializerTwiceRunScript': [PASS, FAIL],
|
2014-06-10 13:23:05 +00:00
|
|
|
|
2014-02-12 10:29:18 +00:00
|
|
|
# BUG(v8:3154).
|
2014-05-07 16:13:04 +00:00
|
|
|
'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
|
2014-02-12 10:29:18 +00:00
|
|
|
|
|
|
|
# BUG(v8:3155).
|
2014-09-10 16:19:42 +00:00
|
|
|
'test-strings/OneByteArrayJoin': [PASS, ['mode == debug', FAIL]],
|
2014-03-31 12:09:59 +00:00
|
|
|
|
|
|
|
# BUG(v8:3247).
|
|
|
|
'test-mark-compact/NoPromotion': [SKIP],
|
2014-07-11 11:20:37 +00:00
|
|
|
|
2014-07-17 06:51:20 +00:00
|
|
|
# BUG(v8:3446).
|
|
|
|
'test-mark-compact/Promotion': [PASS, FAIL],
|
|
|
|
|
|
|
|
# BUG(v8:3434).
|
2014-08-20 04:01:00 +00:00
|
|
|
' test-api/LoadICFastApi_DirectCall_GCMoveStubWithProfiler': [SKIP],
|
2014-03-21 09:28:26 +00:00
|
|
|
}], # 'arch == arm64'
|
2014-02-12 09:19:30 +00:00
|
|
|
|
2014-03-21 09:28:26 +00:00
|
|
|
['arch == arm64 and simulator_run == True', {
|
2014-02-12 09:19:30 +00:00
|
|
|
|
|
|
|
# Pass but take too long with the simulator.
|
|
|
|
'test-api/ExternalArrays': [PASS, TIMEOUT],
|
|
|
|
'test-api/Threading1': [SKIP],
|
2015-02-06 12:07:48 +00:00
|
|
|
'test-api/Threading2': [SKIP],
|
2014-03-21 09:28:26 +00:00
|
|
|
}], # 'arch == arm64 and simulator_run == True'
|
2014-02-12 09:19:30 +00:00
|
|
|
|
2014-03-21 09:28:26 +00:00
|
|
|
['arch == arm64 and mode == debug and simulator_run == True', {
|
2014-02-12 09:19:30 +00:00
|
|
|
|
|
|
|
# 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],
|
2014-03-21 09:28:26 +00:00
|
|
|
}], # 'arch == arm64 and mode == debug and simulator_run == True'
|
2014-02-12 09:19:30 +00:00
|
|
|
|
2014-01-30 12:52:22 +00:00
|
|
|
##############################################################################
|
|
|
|
['asan == True', {
|
|
|
|
# Skip tests not suitable for ASAN.
|
|
|
|
'test-assembler-x64/AssemblerX64XchglOperations': [SKIP],
|
|
|
|
}], # 'asan == True'
|
|
|
|
|
2014-03-14 15:11:03 +00:00
|
|
|
##############################################################################
|
2015-04-29 07:19:49 +00:00
|
|
|
['msan == True', {
|
|
|
|
# ICU upstream issues.
|
|
|
|
'test-strings/CountBreakIterator': [SKIP],
|
2015-05-26 07:55:23 +00:00
|
|
|
|
|
|
|
# Slow tests.
|
|
|
|
'test-api/Threading1': [PASS, SLOW],
|
|
|
|
'test-api/Threading2': [PASS, SLOW],
|
|
|
|
'test-api/Threading3': [PASS, SLOW],
|
|
|
|
'test-api/Threading4': [PASS, SLOW],
|
2015-04-29 07:19:49 +00:00
|
|
|
}], # 'msan == True'
|
|
|
|
|
|
|
|
##############################################################################
|
2014-04-09 13:01:54 +00:00
|
|
|
['no_snap == True', {
|
2015-10-01 19:18:51 +00:00
|
|
|
# Slow tests.
|
|
|
|
'test-api/ExternalWrap': [PASS, SLOW],
|
|
|
|
'test-api/FastReturnValues*': [PASS, SLOW],
|
|
|
|
'test-decls/CrossScriptReferences_Simple2': [PASS, SLOW],
|
2014-04-09 14:01:03 +00:00
|
|
|
}], # 'no_snap == True'
|
2014-04-09 13:01:54 +00:00
|
|
|
|
2014-04-09 14:01:03 +00:00
|
|
|
##############################################################################
|
|
|
|
# TODO(machenbach): Fix application of '*'. Nosnap windows needs a separate
|
|
|
|
# section to not overwrite the expectations for TestThatAlwaysFails.
|
|
|
|
['no_snap == True and system == windows', {
|
2014-04-09 13:01:54 +00:00
|
|
|
# Windows doesn't support nosnap mode.
|
2014-04-09 14:01:03 +00:00
|
|
|
'test-serialize/*': [SKIP],
|
|
|
|
}], # 'no_snap == True and system == windows'
|
2014-03-14 15:11:03 +00:00
|
|
|
|
2013-11-12 12:28:48 +00:00
|
|
|
##############################################################################
|
|
|
|
['system == windows', {
|
|
|
|
|
2014-05-14 12:28:34 +00:00
|
|
|
# BUG(3331). Fails on windows.
|
|
|
|
'test-heap/NoWeakHashTableLeakWithIncrementalMarking': [SKIP],
|
|
|
|
|
2015-11-25 14:22:22 +00:00
|
|
|
# BUG(v8:4573).
|
|
|
|
'test-api/MultipleIsolatesOnIndividualThreads': [PASS, NO_VARIANTS],
|
2015-12-23 10:03:09 +00:00
|
|
|
|
|
|
|
# BUG(v8:4642).
|
2015-12-23 12:31:33 +00:00
|
|
|
'test-lockers/LockAndUnlockDifferentIsolates': [PASS, NO_VARIANTS],
|
2016-03-21 14:16:38 +00:00
|
|
|
|
|
|
|
# BUG(v8:2999,v8:4751).
|
|
|
|
'test-cpu-profiler/CollectDeoptEvents': [SKIP],
|
2016-03-31 07:24:16 +00:00
|
|
|
'test-cpu-profiler/FunctionCallSample': [SKIP],
|
|
|
|
'test-cpu-profiler/JsNativeJsRuntimeJsSample': [SKIP],
|
2016-03-21 14:16:38 +00:00
|
|
|
'test-cpu-profiler/JsNativeJsRuntimeJsSampleMultiple': [SKIP],
|
|
|
|
'test-cpu-profiler/JsNativeJsSample': [SKIP],
|
|
|
|
'test-cpu-profiler/JsNative1JsNative2JsSample': [SKIP],
|
2016-08-12 08:33:57 +00:00
|
|
|
|
|
|
|
# BUG(5193): Flaky timeout.
|
|
|
|
'test-sampler/LibSamplerCollectSample': [PASS, ['arch == x64', SKIP]],
|
2013-11-12 12:28:48 +00:00
|
|
|
}], # 'system == windows'
|
|
|
|
|
2014-01-29 15:15:37 +00:00
|
|
|
##############################################################################
|
2013-09-24 12:08:33 +00:00
|
|
|
['arch == arm', {
|
|
|
|
|
2015-03-10 16:18:22 +00:00
|
|
|
'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],
|
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# BUG(355): Test crashes on ARM.
|
|
|
|
'test-log/ProfLazyMode': [SKIP],
|
|
|
|
|
|
|
|
# BUG(1075): Unresolved crashes.
|
2016-03-10 09:57:47 +00:00
|
|
|
'test-serialize/StartupSerializerOnce': [SKIP],
|
|
|
|
'test-serialize/StartupSerializerTwice': [SKIP],
|
|
|
|
'test-serialize/StartupSerializerOnceRunScript': [SKIP],
|
|
|
|
'test-serialize/StartupSerializerTwiceRunScript': [SKIP],
|
2013-11-26 16:53:04 +00:00
|
|
|
|
|
|
|
############################################################################
|
|
|
|
# Slow tests.
|
|
|
|
'test-api/Threading1': [PASS, SLOW],
|
|
|
|
'test-api/Threading2': [PASS, SLOW],
|
|
|
|
'test-api/Threading3': [PASS, SLOW],
|
|
|
|
'test-api/Threading4': [PASS, SLOW],
|
2013-09-24 12:08:33 +00:00
|
|
|
}], # 'arch == arm'
|
2013-11-12 12:28:48 +00:00
|
|
|
|
2013-06-04 06:17:53 +00:00
|
|
|
##############################################################################
|
2014-04-15 16:39:21 +00:00
|
|
|
['arch == mipsel or arch == mips', {
|
2015-03-12 10:46:22 +00:00
|
|
|
'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],
|
|
|
|
|
2015-06-10 17:47:19 +00:00
|
|
|
# TODO(mips-team): Improve code-size on large RegExp's.
|
|
|
|
'test-heap/TestSizeOfRegExpCode': [SKIP],
|
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# BUG(1075): Unresolved crashes on MIPS also.
|
2016-03-10 09:57:47 +00:00
|
|
|
'test-serialize/StartupSerializerOnce': [SKIP],
|
|
|
|
'test-serialize/StartupSerializerTwice': [SKIP],
|
|
|
|
'test-serialize/StartupSerializerOnceRunScript': [SKIP],
|
|
|
|
'test-serialize/StartupSerializerTwiceRunScript': [SKIP],
|
2014-04-15 16:39:21 +00:00
|
|
|
}], # 'arch == mipsel or arch == mips'
|
2013-07-04 18:47:13 +00:00
|
|
|
|
2014-10-31 13:36:10 +00:00
|
|
|
##############################################################################
|
|
|
|
['arch == mips', {
|
|
|
|
# Too slow with TF.
|
|
|
|
'test-api/ExternalArrays': [PASS, NO_VARIANTS],
|
|
|
|
|
|
|
|
# TODO(mips-team): Currently fails on mips board.
|
|
|
|
'test-parsing/TooManyArguments': [SKIP],
|
2014-11-19 12:52:05 +00:00
|
|
|
'test-api/Threading3': [SKIP],
|
2014-10-31 13:36:10 +00:00
|
|
|
}], # 'arch == mips'
|
|
|
|
|
2014-07-09 11:08:26 +00:00
|
|
|
##############################################################################
|
2015-09-29 17:23:44 +00:00
|
|
|
['arch == mips64el or arch == mips64', {
|
2015-03-12 10:46:22 +00:00
|
|
|
'test-cpu-profiler/CollectDeoptEvents': [PASS, FAIL],
|
|
|
|
|
2014-07-09 11:08:26 +00:00
|
|
|
# BUG(v8:3154).
|
|
|
|
'test-heap/ReleaseOverReservedPages': [PASS, FAIL],
|
|
|
|
|
2015-11-16 14:35:54 +00:00
|
|
|
# TODO(mips-team): Improve code-size on large RegExp's.
|
|
|
|
'test-heap/TestSizeOfRegExpCode': [SKIP],
|
|
|
|
|
2014-07-09 11:08:26 +00:00
|
|
|
# BUG(1075): Unresolved crashes on MIPS also.
|
2016-03-10 09:57:47 +00:00
|
|
|
'test-serialize/StartupSerializerOnce': [SKIP],
|
|
|
|
'test-serialize/StartupSerializerTwice': [SKIP],
|
|
|
|
'test-serialize/StartupSerializerOnceRunScript': [SKIP],
|
|
|
|
'test-serialize/StartupSerializerTwiceRunScript': [SKIP],
|
2015-09-29 17:23:44 +00:00
|
|
|
}], # 'arch == mips64el or arch == mips64'
|
2014-07-09 11:08:26 +00:00
|
|
|
|
2014-06-04 01:40:07 +00:00
|
|
|
##############################################################################
|
|
|
|
['arch == x87', {
|
2015-10-22 13:24:31 +00:00
|
|
|
'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],
|
2015-11-05 00:14:52 +00:00
|
|
|
'test-run-machops/RunFloat64MulAndFloat64Add1': [SKIP],
|
|
|
|
'test-run-machops/RunFloat64MulAndFloat64Add2': [SKIP],
|
|
|
|
'test-run-machops/RunFloat64MulAndFloat64Sub1': [SKIP],
|
|
|
|
'test-run-machops/RunFloat64MulAndFloat64Sub2': [SKIP],
|
2016-06-29 09:00:13 +00:00
|
|
|
'test-run-machops/RunFloat64Sin': [SKIP],
|
|
|
|
'test-run-machops/RunFloat64Cos': [SKIP],
|
|
|
|
'test-run-machops/RunFloat64Expm1': [SKIP],
|
|
|
|
'test-run-machops/RunFloat64Tan': [SKIP],
|
X87: Disable the test-run-profiler/Inlining test case for X87.
The CL #34376 (https://codereview.chromium.org/1740073002 ) added the Inlining test case and X87 failed at it.
The reason is:
For TEST(Inlining) test case, when level3 function is inlined, the key optimized crankshaft code will like below code normally:
............
0x21d53b7f 63 ff571b call [edi+0x1b] <----------- should call action() here
;;; <@32,#27> lazy-bailout
;;; <@36,#31> ---- B3 ----
;;; <@37,#31> gap
0x21d53b82 66 89c1 mov ecx,eax <----------- Both the inlined function’s pc_offset from DeoptimizationInputData and the pc_offset from sample stack points to here, the same pc address
............
So the TEST(Inlining) test case can get the expected inlined code entry and pass..
In fact, the exact code sequence should like the following in crankshaft:
............
0x21d53b7f 63 ff571b call [edi+0x1b] <----------- should call action()
0xxxxxxxxx xxxx GenerateBodyInstructionPost() <----------- the pc_offset from sample stack points to here
;;; <@32,#27> lazy-bailout
;;; <@36,#31> ---- B3 ----
;;; <@37,#31> gap
0x21d53b82 66 89c1 mov ecx,eax <----------- the inlined function’s pc_offset from DeoptimizationInputData points to here.
............
For most of architectures in V8, the GenerateBodyInstructionPost() is empty, so both the inlined function’s pc_offset from DeoptimizationInputData and the pc_offset from sample stack points to the same pc address .
But if some architecture has special requirement and need to put some instruction after call instruction, the GenerateBodyInstructionPost() will do that work and generate instructions, the inlined function’s pc_offset from DeoptimizationInputData and The pc_offset from sample stack will points to the different pc address, the TEST(Inlining) test case can’t get the expected inlined code entry and failed.
For all current architectures in v8, only x87 have this requirement.
After communicated with Alexei Filippov <alph@chromium.org> in E-mail, we decided to disable the Inlining test case for x87 now and try to find a solution.
BUG=
Review URL: https://codereview.chromium.org/1766263002
Cr-Commit-Position: refs/heads/master@{#34544}
2016-03-07 14:56:36 +00:00
|
|
|
'test-cpu-profiler/Inlining': [SKIP],
|
X87: disable test-gap-resolver/FuzzResolver test case for x87.
The reason:
In CreateRandomOperand(), It used the register index 1 for ExplicitOperand(LocationOperand::REGISTER, rep,
GetRegisterCode(rep, 1)).
For x87 turbofan compiler, there's only 1 allocatable Float/Double register, i.e.: register index 0. the
GetRegisterCode(rep, 1) in ExplicitOperand() always return false when rep is MachineRepresentation::kFloat32/kFloat64.
It caused the test-gap-resolver/FuzzResolver failed at DCHECK_IMPLIES(kind == REGISTER && rep == MachineRepresentation::kFloat32,
FloatRegister::from_code(index).IsAllocatable(RegisterConfiguration::TURBOFAN)), src/compiler/instruction.cc, line 259, under
debug mode.
This CL disable test-gap-resolver/FuzzResolver test case for x87.
BUG=
Review-Url: https://codereview.chromium.org/2120203002
Cr-Commit-Position: refs/heads/master@{#37515}
2016-07-05 08:54:43 +00:00
|
|
|
'test-gap-resolver/FuzzResolver': [SKIP],
|
2014-06-04 01:40:07 +00:00
|
|
|
}], # 'arch == x87'
|
|
|
|
|
2012-07-20 10:00:31 +00:00
|
|
|
##############################################################################
|
2013-09-24 12:08:33 +00:00
|
|
|
['arch == android_arm or arch == android_ia32', {
|
2012-07-20 10:00:31 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# 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'
|
2013-04-09 08:39:01 +00:00
|
|
|
|
2015-04-07 07:06:39 +00:00
|
|
|
##############################################################################
|
|
|
|
['system == aix and arch == ppc64', {
|
|
|
|
|
|
|
|
# BUG 2857
|
|
|
|
'test-log/EquivalenceOfLoggingAndTraversal' : [SKIP],
|
|
|
|
|
|
|
|
}], # 'system == aix and arch == ppc64'
|
|
|
|
|
2015-11-12 19:10:18 +00:00
|
|
|
##############################################################################
|
|
|
|
['system == aix or (arch == ppc64 and byteorder == big)', {
|
|
|
|
|
2016-01-14 17:57:22 +00:00
|
|
|
# TODO(ppc): Fix for platforms with function desciptors.
|
2015-11-12 19:10:18 +00:00
|
|
|
'test-run-machops/RunComputedCodeObject' : [SKIP],
|
2016-01-14 17:57:22 +00:00
|
|
|
'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],
|
2015-11-12 19:10:18 +00:00
|
|
|
|
|
|
|
}], # 'system == aix or (arch == ppc64 and byteorder == big)'
|
|
|
|
|
2015-03-03 07:04:41 +00:00
|
|
|
##############################################################################
|
|
|
|
['arch == ppc and simulator_run == True or arch == ppc64 and simulator_run == True', {
|
|
|
|
|
|
|
|
# Pass but take too long with the simulator.
|
2015-03-19 07:44:30 +00:00
|
|
|
'test-api/Threading1': [PASS, SLOW],
|
|
|
|
'test-api/Threading2': [PASS, SLOW],
|
|
|
|
'test-api/ExternalArrays': [PASS, SLOW],
|
2015-03-03 07:04:41 +00:00
|
|
|
|
|
|
|
}], # 'arch == ppc64 and simulator_run == True'
|
2016-01-04 21:01:14 +00:00
|
|
|
|
2016-08-08 09:57:20 +00:00
|
|
|
##############################################################################
|
|
|
|
['variant == turbofan', {
|
|
|
|
|
|
|
|
# TODO(bmeurer): TurboFan embeds strong references to all kinds of objects
|
|
|
|
# via deoptimization data (Crankshaft also does this, but lack proper test
|
|
|
|
# coverage).
|
|
|
|
'test-heap/ObjectsInOptimizedCodeAreWeak': [FAIL],
|
|
|
|
|
|
|
|
# TurboFan cpu profiler result is different.
|
|
|
|
'test-cpu-profiler/CollectDeoptEvents': [FAIL],
|
|
|
|
'test-cpu-profiler/DeoptAtFirstLevelInlinedSource': [FAIL],
|
|
|
|
'test-cpu-profiler/DeoptAtSecondLevelInlinedSource': [FAIL],
|
|
|
|
|
|
|
|
}], # variant == turbofan
|
|
|
|
|
2016-08-12 08:33:57 +00:00
|
|
|
##############################################################################
|
|
|
|
['variant == turbofan_opt', {
|
|
|
|
# BUG(5193): Flaky.
|
|
|
|
'test-cpu-profiler/FunctionApplySample': [PASS, ['system == windows', SKIP]],
|
|
|
|
}], # variant == turbofan_opt
|
|
|
|
|
2016-08-08 09:57:20 +00:00
|
|
|
##############################################################################
|
|
|
|
['variant == ignition', {
|
2016-08-08 12:57:44 +00:00
|
|
|
# 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,4780): Related to type feedback support for Array function.
|
|
|
|
'test-feedback-vector/VectorCallFeedbackForArray': [FAIL],
|
|
|
|
|
|
|
|
# TODO(mythria,4780): Related to type feedback support for constructor.
|
|
|
|
'test-feedback-vector/VectorConstructCounts': [FAIL],
|
|
|
|
'test-heap/WeakFunctionInConstructor': [FAIL],
|
|
|
|
'test-heap/IncrementalMarkingPreservesMonomorphicConstructor': [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(rmcilroy,4680): Function is optimized without type feedback and so immediately deopts again, causing check failure in the test.
|
|
|
|
'test-heap/ResetSharedFunctionInfoCountersDuringIncrementalMarking': [FAIL],
|
|
|
|
'test-heap/ResetSharedFunctionInfoCountersDuringMarkSweep': [FAIL],
|
|
|
|
|
|
|
|
# BUG(4680): Missing type feedback makes optimistic optimizations fail.
|
2016-08-08 09:57:20 +00:00
|
|
|
'test-cpu-profiler/CollectDeoptEvents': [FAIL],
|
2016-08-09 12:04:42 +00:00
|
|
|
'test-cpu-profiler/DeoptUntrackedFunction': [SKIP],
|
2016-08-08 12:57:44 +00:00
|
|
|
|
|
|
|
# BUG(4680): Ignition doesn't support allocation sites currently.
|
|
|
|
'test-heap/EnsureAllocationSiteDependentCodesProcessed': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringAllocationFolding': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringdoubleArrayLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringNestedDoubleLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringNestedMixedArrayLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringNestedObjectLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringObjectArrayLiterals': [FAIL],
|
|
|
|
|
|
|
|
# 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],
|
|
|
|
|
|
|
|
# TurboFan cpu profiler result is different.
|
2016-08-08 09:57:20 +00:00
|
|
|
'test-cpu-profiler/DeoptAtFirstLevelInlinedSource': [FAIL],
|
|
|
|
'test-cpu-profiler/DeoptAtSecondLevelInlinedSource': [FAIL],
|
2016-08-12 08:33:57 +00:00
|
|
|
|
|
|
|
# BUG(5193): Flaky.
|
|
|
|
'test-cpu-profiler/FunctionApplySample': [PASS, ['system == windows', SKIP]],
|
2016-08-08 09:57:20 +00:00
|
|
|
}], # variant == ignition
|
|
|
|
|
2016-08-05 12:46:42 +00:00
|
|
|
##############################################################################
|
|
|
|
['variant == ignition_staging', {
|
2016-08-09 12:04:42 +00:00
|
|
|
'test-cpu-profiler/DeoptUntrackedFunction': [SKIP],
|
2016-08-05 12:46:42 +00:00
|
|
|
'test-cpu-profiler/TickLinesOptimized': [SKIP],
|
2016-08-08 09:57:20 +00:00
|
|
|
'test-cpu-profiler/CollectDeoptEvents': [FAIL],
|
|
|
|
'test-cpu-profiler/DeoptAtFirstLevelInlinedSource': [FAIL],
|
|
|
|
'test-cpu-profiler/DeoptAtSecondLevelInlinedSource': [FAIL],
|
2016-08-05 12:46:42 +00:00
|
|
|
'test-feedback-vector/VectorCallFeedbackForArray': [FAIL],
|
|
|
|
'test-feedback-vector/VectorConstructCounts': [FAIL],
|
|
|
|
'test-heap/CompilationCacheCachingBehavior': [FAIL],
|
|
|
|
'test-heap/EnsureAllocationSiteDependentCodesProcessed': [FAIL],
|
|
|
|
'test-heap/IncrementalMarkingPreservesMonomorphicConstructor': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringAllocationFolding': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringdoubleArrayLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringNestedDoubleLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringNestedMixedArrayLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringNestedObjectLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringObjectArrayLiterals': [FAIL],
|
|
|
|
'test-heap/Regress169209': [FAIL],
|
|
|
|
'test-heap/ResetSharedFunctionInfoCountersDuringIncrementalMarking': [FAIL],
|
|
|
|
'test-heap/ResetSharedFunctionInfoCountersDuringMarkSweep': [FAIL],
|
|
|
|
'test-heap/TestCodeFlushing': [FAIL],
|
|
|
|
'test-heap/TestCodeFlushingIncremental': [FAIL],
|
|
|
|
'test-heap/TestCodeFlushingIncrementalScavenge': [FAIL],
|
|
|
|
'test-heap/TestCodeFlushingPreAged': [FAIL],
|
|
|
|
'test-heap/WeakFunctionInConstructor': [FAIL],
|
|
|
|
'test-run-inlining/InlineBuiltin': [FAIL],
|
|
|
|
'test-run-inlining/InlineLoopGuardedEmpty': [FAIL],
|
|
|
|
'test-run-inlining/InlineLoopGuardedOnce': [FAIL],
|
|
|
|
'test-run-inlining/InlineLoopGuardedTwice': [FAIL],
|
|
|
|
'test-run-inlining/InlineLoopUnguardedEmpty': [FAIL],
|
|
|
|
'test-run-inlining/InlineLoopUnguardedOnce': [FAIL],
|
|
|
|
'test-run-inlining/InlineLoopUnguardedTwice': [FAIL],
|
|
|
|
'test-run-inlining/InlineMutuallyRecursive': [FAIL],
|
|
|
|
'test-run-inlining/InlineNestedBuiltin': [FAIL],
|
|
|
|
'test-run-inlining/InlineOmitArgumentsDeopt': [FAIL],
|
|
|
|
'test-run-inlining/InlineOmitArguments': [FAIL],
|
|
|
|
'test-run-inlining/InlineOmitArgumentsObject': [FAIL],
|
|
|
|
'test-run-inlining/InlineSurplusArgumentsDeopt': [FAIL],
|
|
|
|
'test-run-inlining/InlineSurplusArguments': [FAIL],
|
|
|
|
'test-run-inlining/InlineSurplusArgumentsObject': [FAIL],
|
|
|
|
'test-run-inlining/InlineTwiceDependentDiamondDifferent': [FAIL],
|
|
|
|
'test-run-inlining/InlineTwiceDependentDiamond': [FAIL],
|
|
|
|
'test-run-inlining/InlineTwiceDependent': [FAIL],
|
|
|
|
'test-run-inlining/InlineTwice': [FAIL],
|
|
|
|
'test-run-inlining/InlineWithArguments': [FAIL],
|
|
|
|
'test-run-inlining/SimpleInliningContextDeopt': [FAIL],
|
|
|
|
'test-run-inlining/SimpleInliningContext': [FAIL],
|
|
|
|
'test-run-inlining/SimpleInlining': [FAIL],
|
2016-08-12 08:33:57 +00:00
|
|
|
|
|
|
|
# BUG(5193): Flaky.
|
|
|
|
'test-cpu-profiler/FunctionApplySample': [PASS, ['system == windows', SKIP]],
|
2016-08-05 12:46:42 +00:00
|
|
|
}], # variant == ignition_staging
|
|
|
|
|
2016-02-25 16:44:48 +00:00
|
|
|
##############################################################################
|
2016-08-04 14:41:09 +00:00
|
|
|
['variant == ignition_turbofan', {
|
2016-08-01 12:59:12 +00:00
|
|
|
# TODO(5251): Inlining is currently disabled for the BytecodeGraphBuilder.
|
2016-07-25 09:42:48 +00:00
|
|
|
'test-run-inlining/InlineLoopGuardedTwice': [FAIL],
|
|
|
|
'test-run-inlining/InlineSurplusArgumentsDeopt': [FAIL],
|
|
|
|
'test-run-inlining/InlineTwice': [FAIL],
|
|
|
|
'test-run-inlining/InlineSurplusArgumentsObject': [FAIL],
|
|
|
|
'test-run-inlining/InlineTwiceDependentDiamond': [FAIL],
|
|
|
|
'test-run-inlining/InlineWithArguments': [FAIL],
|
|
|
|
'test-run-inlining/InlineLoopUnguardedTwice': [FAIL],
|
|
|
|
'test-run-inlining/InlineOmitArgumentsObject': [FAIL],
|
|
|
|
'test-run-inlining/InlineLoopUnguardedOnce': [FAIL],
|
|
|
|
'test-run-inlining/InlineOmitArgumentsDeopt': [FAIL],
|
|
|
|
'test-run-inlining/InlineTwiceDependentDiamondDifferent': [FAIL],
|
|
|
|
'test-run-inlining/SimpleInliningContext': [FAIL],
|
|
|
|
'test-run-inlining/InlineMutuallyRecursive': [FAIL],
|
|
|
|
'test-run-inlining/InlineLoopGuardedEmpty': [FAIL],
|
|
|
|
'test-run-inlining/InlineLoopGuardedOnce': [FAIL],
|
|
|
|
'test-run-inlining/InlineOmitArguments': [FAIL],
|
|
|
|
'test-run-inlining/SimpleInlining': [FAIL],
|
|
|
|
'test-run-inlining/InlineLoopUnguardedEmpty': [FAIL],
|
|
|
|
'test-run-inlining/InlineNestedBuiltin': [FAIL],
|
|
|
|
'test-run-inlining/InlineSurplusArguments': [FAIL],
|
|
|
|
'test-run-inlining/InlineBuiltin': [FAIL],
|
|
|
|
'test-run-inlining/InlineTwiceDependent': [FAIL],
|
|
|
|
'test-run-inlining/SimpleInliningContextDeopt': [FAIL],
|
|
|
|
|
|
|
|
# TODO(rmcilroy,4766): Requires BytecodeGraphBuilder to track source position
|
|
|
|
# on nodes (behind --turbo_source_positions flag).
|
|
|
|
'test-cpu-profiler/TickLinesOptimized': [FAIL],
|
|
|
|
|
2016-05-06 14:03:02 +00:00
|
|
|
# TODO(rmcilroy,4680): Related to lack of code flushing. Check failed: !function->shared()->is_compiled() || function->IsOptimized().
|
2016-02-02 09:58:19 +00:00
|
|
|
'test-heap/TestCodeFlushingPreAged': [FAIL],
|
|
|
|
'test-heap/TestCodeFlushingIncrementalScavenge': [FAIL],
|
|
|
|
'test-heap/TestCodeFlushing': [FAIL],
|
|
|
|
'test-heap/TestCodeFlushingIncremental': [FAIL],
|
2016-02-16 18:51:32 +00:00
|
|
|
'test-heap/TestCodeFlushingIncrementalAbort': [PASS, ['mode == debug or dcheck_always_on == True', FAIL]],
|
2016-02-02 09:58:19 +00:00
|
|
|
|
2016-07-13 07:58:40 +00:00
|
|
|
# TODO(mythria,4780): Related to type feedback support for Array function.
|
|
|
|
'test-feedback-vector/VectorCallFeedbackForArray': [FAIL],
|
|
|
|
|
2016-08-05 10:33:12 +00:00
|
|
|
# TODO(mythria,4780): Related to type feedback support for constructor.
|
|
|
|
'test-feedback-vector/VectorConstructCounts': [FAIL],
|
|
|
|
'test-heap/WeakFunctionInConstructor': [FAIL],
|
|
|
|
'test-heap/IncrementalMarkingPreservesMonomorphicConstructor': [FAIL],
|
|
|
|
|
2016-03-11 13:35:40 +00:00
|
|
|
# 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],
|
|
|
|
|
2016-07-19 08:22:04 +00:00
|
|
|
# BUG(4680): Missing type feedback makes optimistic optimizations fail.
|
|
|
|
'test-cpu-profiler/CollectDeoptEvents': [FAIL],
|
2016-08-09 12:04:42 +00:00
|
|
|
'test-cpu-profiler/DeoptUntrackedFunction': [SKIP],
|
2016-07-19 08:22:04 +00:00
|
|
|
|
2016-08-05 10:33:12 +00:00
|
|
|
# BUG(4680): Ignition doesn't support allocation sites currently.
|
|
|
|
'test-heap/EnsureAllocationSiteDependentCodesProcessed': [FAIL],
|
2016-07-11 08:39:08 +00:00
|
|
|
'test-heap/OptimizedPretenuringAllocationFolding': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringdoubleArrayLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringNestedDoubleLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringNestedMixedArrayLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringNestedObjectLiterals': [FAIL],
|
|
|
|
'test-heap/OptimizedPretenuringObjectArrayLiterals': [FAIL],
|
|
|
|
|
2016-06-03 10:51:05 +00:00
|
|
|
# BUG(4751). Flaky with Ignition.
|
|
|
|
'test-cpu-profiler/JsNativeJsSample': [SKIP],
|
2016-08-08 09:57:20 +00:00
|
|
|
|
|
|
|
# TODO(bmeurer): TurboFan embeds strong references to all kinds of objects
|
|
|
|
# via deoptimization data (Crankshaft also does this, but lack proper test
|
|
|
|
# coverage).
|
|
|
|
'test-heap/ObjectsInOptimizedCodeAreWeak': [FAIL],
|
|
|
|
|
|
|
|
# TurboFan cpu profiler result is different.
|
|
|
|
'test-cpu-profiler/DeoptAtFirstLevelInlinedSource': [FAIL],
|
|
|
|
'test-cpu-profiler/DeoptAtSecondLevelInlinedSource': [FAIL],
|
2016-08-12 08:33:57 +00:00
|
|
|
|
|
|
|
# BUG(5193): Flaky.
|
|
|
|
'test-cpu-profiler/FunctionApplySample': [PASS, ['system == windows', SKIP]],
|
2016-08-04 14:41:09 +00:00
|
|
|
}], # variant == ignition_turbofan
|
2016-01-04 21:01:14 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
]
|