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],
|
2008-09-02 15:20:38 +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
|
|
|
# TODO(mstarzinger): Fail gracefully on multiple V8::Dispose calls.
|
|
|
|
'test-api/InitializeAndDisposeOnce': [SKIP],
|
|
|
|
'test-api/InitializeAndDisposeMultiple': [SKIP],
|
2013-09-06 11:24:26 +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],
|
|
|
|
'test-serialize/DependentTestThatAlwaysFails': [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
|
|
|
|
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
|
|
|
|
|
|
|
############################################################################
|
|
|
|
# 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]],
|
2013-09-24 12:08:33 +00:00
|
|
|
}], # ALWAYS
|
2013-08-28 10:50:42 +00:00
|
|
|
|
2014-01-30 12:52:22 +00:00
|
|
|
##############################################################################
|
|
|
|
['asan == True', {
|
|
|
|
# Skip tests not suitable for ASAN.
|
|
|
|
'test-assembler-x64/AssemblerX64XchglOperations': [SKIP],
|
|
|
|
'test-lockers/MultithreadedParallelIsolates': [SKIP],
|
|
|
|
}], # 'asan == True'
|
|
|
|
|
2013-11-12 12:28:48 +00:00
|
|
|
##############################################################################
|
|
|
|
['system == windows', {
|
|
|
|
|
|
|
|
# BUG(2999).
|
|
|
|
'test-cpu-profiler/CollectCpuProfile': [PASS, FAIL],
|
2014-01-10 09:02:24 +00:00
|
|
|
'test-cpu-profiler/JsNativeJsSample': [PASS, FLAKY],
|
2013-11-15 09:10:44 +00:00
|
|
|
|
2014-01-14 19:26:39 +00:00
|
|
|
# BUG(3055).
|
|
|
|
'test-cpu-profiler/JsNative1JsNative2JsSample': [PASS, ['mode == release', FAIL], ['mode == debug', FLAKY]],
|
|
|
|
|
2013-11-15 09:10:44 +00:00
|
|
|
# BUG(3005).
|
2013-11-20 17:09:17 +00:00
|
|
|
'test-alloc/CodeRange': [PASS, FAIL],
|
2013-11-12 12:28:48 +00:00
|
|
|
}], # 'system == windows'
|
|
|
|
|
2010-12-07 11:31:57 +00:00
|
|
|
##############################################################################
|
2014-01-29 15:15:37 +00:00
|
|
|
['system == macos', {
|
|
|
|
|
|
|
|
# BUG(3125).
|
2014-01-30 10:16:54 +00:00
|
|
|
'test-debug/DebugGetLoadedScripts': [PASS, FLAKY],
|
|
|
|
'test-debug/DebugStepLinear': [PASS, FLAKY],
|
|
|
|
'test-debug/DebuggerClearMessageHandler': [PASS, FLAKY],
|
2014-01-29 15:15:37 +00:00
|
|
|
}], # 'system == macos'
|
|
|
|
|
|
|
|
##############################################################################
|
2013-09-24 12:08:33 +00:00
|
|
|
['arch == arm', {
|
|
|
|
|
|
|
|
# We cannot assume that we can throw OutOfMemory exceptions in all situations.
|
|
|
|
# Apparently our ARM box is in such a state. Skip the test as it also runs for
|
|
|
|
# a long time.
|
|
|
|
'test-api/OutOfMemory': [SKIP],
|
|
|
|
'test-api/OutOfMemoryNested': [SKIP],
|
|
|
|
|
|
|
|
# BUG(355): Test crashes on ARM.
|
|
|
|
'test-log/ProfLazyMode': [SKIP],
|
|
|
|
|
|
|
|
# BUG(1075): Unresolved crashes.
|
|
|
|
'test-serialize/Deserialize': [SKIP],
|
|
|
|
'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
|
|
|
|
'test-serialize/DeserializeAndRunScript2': [SKIP],
|
|
|
|
'test-serialize/DeserializeFromSecondSerialization': [SKIP],
|
2013-11-26 16:53:04 +00:00
|
|
|
|
2014-01-15 08:06:02 +00:00
|
|
|
# BUG(2999).
|
|
|
|
'test-cpu-profiler/CollectCpuProfile': [PASS, FLAKY],
|
|
|
|
|
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
|
|
|
##############################################################################
|
2013-09-24 12:08:33 +00:00
|
|
|
['arch == mipsel', {
|
2013-06-04 06:17:53 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# BUG(2657): Test sometimes times out on MIPS simulator.
|
|
|
|
'test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate': [PASS, TIMEOUT],
|
2013-06-11 14:31:46 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# BUG(1075): Unresolved crashes on MIPS also.
|
|
|
|
'test-serialize/Deserialize': [SKIP],
|
|
|
|
'test-serialize/DeserializeFromSecondSerializationAndRunScript2': [SKIP],
|
|
|
|
'test-serialize/DeserializeAndRunScript2': [SKIP],
|
|
|
|
'test-serialize/DeserializeFromSecondSerialization': [SKIP],
|
|
|
|
}], # 'arch == mipsel'
|
2013-07-04 18:47:13 +00:00
|
|
|
|
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],
|
2012-07-20 10:00:31 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# platform-tls.h does not contain an ANDROID-related header.
|
|
|
|
'test-platform-tls/FastTLS': [SKIP],
|
2012-10-19 09:28:23 +00:00
|
|
|
|
2013-09-24 12:08:33 +00:00
|
|
|
# This test times out.
|
|
|
|
'test-threads/ThreadJoinSelf': [SKIP],
|
|
|
|
}], # 'arch == android_arm or arch == android_ia32'
|
2013-04-09 08:39:01 +00:00
|
|
|
|
|
|
|
##############################################################################
|
2013-09-24 12:08:33 +00:00
|
|
|
['arch == nacl_ia32 or arch == nacl_x64', {
|
|
|
|
|
|
|
|
# NaCl builds have problems with threaded tests since Pepper_28.
|
|
|
|
# V8 Issue 2786
|
|
|
|
'test-api/Threading1': [SKIP],
|
|
|
|
'test-lockers/MultithreadedParallelIsolates': [SKIP],
|
|
|
|
'test-lockers/ExtensionsRegistration': [SKIP],
|
|
|
|
|
|
|
|
# These tests fail as there is no /tmp directory in Native Client.
|
|
|
|
'test-log/LogAccessorCallbacks': [SKIP],
|
|
|
|
'test-log/LogCallbacks': [SKIP],
|
|
|
|
'test-log/ProfLazyMode': [SKIP],
|
|
|
|
|
|
|
|
# Native Client doesn't support sockets.
|
|
|
|
'test-debug/DebuggerAgent': [SKIP],
|
|
|
|
'test-debug/DebuggerAgentProtocolOverflowHeader': [SKIP],
|
|
|
|
'test-socket/Socket': [SKIP],
|
|
|
|
|
|
|
|
# Profiling doesn't work on Native Client.
|
|
|
|
'test-cpu-profiler/*': [SKIP],
|
|
|
|
|
|
|
|
# Fails since 16322 (new test).
|
|
|
|
'test-code-stubs-arm/ConvertDToI': [SKIP],
|
2013-11-12 11:36:20 +00:00
|
|
|
|
|
|
|
# BUG(2998).
|
|
|
|
'test-macro-assembler-arm/LoadAndStoreWithRepresentation': [SKIP],
|
2014-02-12 08:20:07 +00:00
|
|
|
|
|
|
|
# BUG(3150).
|
|
|
|
'test-api/PreCompileInvalidPreparseDataError': [SKIP],
|
2013-09-24 12:08:33 +00:00
|
|
|
}], # 'arch == nacl_ia32 or arch == nacl_x64'
|
|
|
|
]
|