2012-02-23 13:59:35 +00:00
# Copyright 2012 the V8 project authors. All rights reserved.
2008-08-28 13:17:47 +00:00
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
2009-03-10 13:35:28 +00:00
# * Redistributions of source code must retain the above copyright
2008-08-28 13:17:47 +00:00
# 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 in the bug directory are expected to fail.
'bugs/*': [FAIL],
2013-10-31 11:48:31 +00:00
##############################################################################
# Flaky tests.
2013-11-05 19:29:58 +00:00
# BUG(v8:2921).
2013-11-26 16:53:04 +00:00
'debug-step-4-in-frame': [PASS, FAIL, SLOW],
2013-10-31 11:48:31 +00:00
2013-09-24 12:08:33 +00:00
##############################################################################
# Fails.
'regress/regress-1119': [FAIL],
# Issue 1719: Slow to collect arrays over several contexts.
'regress/regress-524': [SKIP],
# When that bug is fixed, revert the expectation to:
# Skip long running test in debug and allow it to timeout in release mode.
# regress/regress-524: [PASS, TIMEOUT, ['mode == debug', SKIP]],
# This test non-deterministically runs out of memory on Windows ia32.
'regress/regress-crbug-160010': [SKIP],
2014-06-13 08:05:34 +00:00
# Issue 3389: deopt_every_n_garbage_collections is unsafe
'regress/regress-2653': [SKIP],
2013-09-24 12:08:33 +00:00
##############################################################################
# Too slow in debug mode with --stress-opt mode.
'compiler/regress-stacktrace-methods': [PASS, ['mode == debug', SKIP]],
'compiler/regress-funcaller': [PASS, ['mode == debug', SKIP]],
'regress/regress-2318': [PASS, ['mode == debug', SKIP]],
'regress/regress-create-exception': [PASS, ['mode == debug', SKIP]],
##############################################################################
# Too slow in debug mode for GC stress mode.
'regress/regress-crbug-217858': [PASS, ['mode == debug', SKIP]],
2013-10-25 08:57:50 +00:00
##############################################################################
# Only regexp stuff tested, no need for extensive Crankshaft tests.
'regexp-global': [PASS, NO_VARIANTS],
2014-01-10 12:07:29 +00:00
##############################################################################
# No need to waste time for this test.
'd8-performance-now': [PASS, NO_VARIANTS],
##############################################################################
2014-03-27 10:06:53 +00:00
'big-object-literal': [PASS, ['arch == arm or arch == android_arm or arch == android_arm64', SKIP]],
2013-09-24 12:08:33 +00:00
# Issue 488: this test sometimes times out.
'array-constructor': [PASS, TIMEOUT],
# Very slow on ARM and MIPS, contains no architecture dependent code.
2014-07-09 11:08:26 +00:00
'unicode-case-overoptimization': [PASS, NO_VARIANTS, ['arch == arm or arch == android_arm or arch == android_arm64 or arch == mipsel or arch == mips64el or arch == mips', TIMEOUT]],
2013-09-24 12:08:33 +00:00
##############################################################################
# This test expects to reach a certain recursion depth, which may not work
# for debug mode.
'json-recursive': [PASS, ['mode == debug', PASS, FAIL]],
##############################################################################
# Skip long running tests that time out in debug mode.
'generated-transition-stub': [PASS, ['mode == debug', SKIP]],
2014-07-02 09:57:27 +00:00
'migrations': [PASS, ['mode == debug', TIMEOUT]],
2013-09-24 12:08:33 +00:00
##############################################################################
# This test sets the umask on a per-process basis and hence cannot be
# used in multi-threaded runs.
# On android there is no /tmp directory.
2014-04-10 07:25:49 +00:00
# Currently d8-os generates a temporary directory name using Math.random(), so
# we cannot run several variants of d8-os simultaneously, since all of them
# get the same random seed and would generate the same directory name. Besides
# that, it doesn't make sense to run several variants of d8-os anyways.
'd8-os': [PASS, NO_VARIANTS, ['isolates or arch == android_arm or arch == android_arm64 or arch == android_ia32', SKIP]],
2014-03-27 10:06:53 +00:00
'tools/tickprocessor': [PASS, ['arch == android_arm or arch == android_arm64 or arch == android_ia32', SKIP]],
2013-09-24 12:08:33 +00:00
##############################################################################
# Long running test that reproduces memory leak and should be run manually.
'regress/regress-2073': [SKIP],
2013-12-05 17:26:22 +00:00
##############################################################################
# Tests verifying CHECK and ASSERT.
'verify-check-false': [FAIL, NO_VARIANTS],
'verify-assert-false': [NO_VARIANTS, ['mode == release', PASS], ['mode == debug', FAIL]],
2014-01-24 11:36:45 +00:00
##############################################################################
# Tests with different versions for release and debug.
'compiler/alloc-number': [PASS, ['mode == debug', SKIP]],
'compiler/alloc-number-debug': [PASS, ['mode == release', SKIP]],
'regress/regress-634': [PASS, ['mode == debug', SKIP]],
'regress/regress-634-debug': [PASS, ['mode == release', SKIP]],
2014-01-31 13:56:00 +00:00
# BUG(336820). TODO(bmeurer): Investigate.
'regress/regress-336820': [PASS, FAIL],
2014-01-31 16:12:58 +00:00
2014-01-31 16:47:52 +00:00
# BUG(v8:2989). PASS/FAIL on linux32 because crankshaft is turned off for
2014-02-01 09:56:20 +00:00
# nosse2. Also for arm novfp3.
2014-05-23 16:37:27 +00:00
'regress/regress-2989': [FAIL, NO_VARIANTS, ['system == linux and arch == x87 or arch == arm and simulator == True', PASS]],
2014-04-15 16:39:21 +00:00
# Skip endain dependent test for mips due to different typed views of the same
# array buffer.
'nans': [PASS, ['arch == mips', SKIP]],
2013-09-24 12:08:33 +00:00
}], # ALWAYS
2013-01-24 11:55:05 +00:00
2014-01-21 12:41:25 +00:00
##############################################################################
['gc_stress == True', {
# Skip tests not suitable for GC stress.
'allocation-site-info': [SKIP],
'array-constructor-feedback': [SKIP],
'array-feedback': [SKIP],
'array-literal-feedback': [SKIP],
'd8-performance-now': [SKIP],
'elements-kind': [SKIP],
'fast-prototype': [SKIP],
'opt-elements-kind': [SKIP],
'osr-elements-kind': [SKIP],
'regress/regress-165637': [SKIP],
'regress/regress-2249': [SKIP],
2014-03-26 08:57:21 +00:00
'debug-stepout-scope-part8': [PASS, ['arch == arm ', FAIL]],
2014-06-25 12:18:19 +00:00
'elements-transition-hoisting': [PASS, FAIL],
2014-06-26 09:49:17 +00:00
'getters-on-elements': [PASS, FAIL],
2014-07-01 08:32:47 +00:00
# Tests taking too long
'regress/regress-1122': [PASS, TIMEOUT],
'regress/regress-331444': [PASS, TIMEOUT],
2014-01-21 12:41:25 +00:00
}], # 'gc_stress == True'
2014-05-08 14:34:37 +00:00
##############################################################################
['no_i18n', {
# Don't call runtime functions that don't exist without i18n support.
'runtime-gen/availablelocalesof': [SKIP],
'runtime-gen/breakiteratoradopttext': [SKIP],
'runtime-gen/breakiteratorbreaktype': [SKIP],
'runtime-gen/breakiteratorbreaktype': [SKIP],
'runtime-gen/breakiteratorcurrent': [SKIP],
'runtime-gen/breakiteratorfirst': [SKIP],
'runtime-gen/breakiteratornext': [SKIP],
'runtime-gen/canonicalizelanguagetag': [SKIP],
'runtime-gen/createbreakiterator': [SKIP],
'runtime-gen/createcollator': [SKIP],
'runtime-gen/getdefaulticulocale': [SKIP],
'runtime-gen/getimplfrominitializedintlobject': [SKIP],
'runtime-gen/getlanguagetagvariants': [SKIP],
'runtime-gen/internalcompare': [SKIP],
'runtime-gen/internaldateformat': [SKIP],
'runtime-gen/internaldateparse': [SKIP],
'runtime-gen/internalnumberformat': [SKIP],
'runtime-gen/internalnumberparse': [SKIP],
'runtime-gen/isinitializedintlobject': [SKIP],
'runtime-gen/isinitializedintlobjectoftype': [SKIP],
'runtime-gen/markasinitializedintlobjectoftype': [SKIP],
'runtime-gen/stringnormalize': [SKIP],
}],
2014-02-12 09:19:30 +00:00
##############################################################################
2014-03-27 10:06:53 +00:00
['arch == arm64 or arch == android_arm64', {
2014-02-12 09:19:30 +00:00
# Requires bigger stack size in the Genesis and if stack size is increased,
# the test requires too much time to run. However, the problem test covers
# should be platform-independent.
'regress/regress-1132': [SKIP],
# Pass but take too long to run. Skip.
2014-03-21 09:28:26 +00:00
# Some similar tests (with fewer iterations) may be included in arm64-js
# tests.
2014-02-12 09:19:30 +00:00
'compiler/regress-arguments': [SKIP],
'compiler/regress-gvn': [SKIP],
'compiler/regress-max-locals-for-osr': [SKIP],
'compiler/regress-4': [SKIP],
'compiler/regress-or': [SKIP],
'compiler/regress-rep-change': [SKIP],
'regress/regress-1117': [SKIP],
'regress/regress-1145': [SKIP],
'regress/regress-1849': [SKIP],
'regress/regress-3247124': [SKIP],
'regress/regress-634': [SKIP],
'regress/regress-91008': [SKIP],
'regress/regress-91010': [SKIP],
'regress/regress-91013': [SKIP],
'regress/regress-99167': [SKIP],
# Long running tests.
'regress/regress-2185': [PASS, ['mode == debug', PASS, TIMEOUT]],
'regress/regress-2185-2': [PASS, TIMEOUT],
2014-03-06 14:15:40 +00:00
'whitespaces': [PASS, TIMEOUT, SLOW],
2014-02-12 09:19:30 +00:00
# BUG(v8:3147). It works on other architectures by accident.
'regress/regress-conditional-position': [FAIL],
2014-02-28 12:46:13 +00:00
# Slow tests.
'array-concat': [PASS, SLOW],
'array-constructor': [PASS, SLOW],
'array-indexing': [PASS, SLOW],
'array-reduce': [PASS, SLOW],
'array-sort': [PASS, SLOW],
'array-splice': [PASS, SLOW],
'bit-not': [PASS, SLOW],
'compiler/alloc-number': [PASS, SLOW],
'compiler/osr-assert': [PASS, SLOW],
'compiler/osr-warm': [PASS, SLOW],
'compiler/osr-with-args': [PASS, SLOW],
'debug-scopes': [PASS, SLOW],
'generated-transition-stub': [PASS, SLOW],
'json2': [PASS, SLOW],
'math-floor-of-div-nosudiv': [PASS, SLOW],
'math-floor-of-div': [PASS, SLOW],
'mirror-object': [PASS, SLOW],
'packed-elements': [PASS, SLOW],
'regress/regress-1122': [PASS, SLOW],
'regress/regress-2185-2': [PASS, SLOW],
'regress/regress-2185': [PASS, SLOW],
'regress/regress-2790': [PASS, SLOW],
'regress/regress-331444': [PASS, SLOW],
'regress/regress-490': [PASS, SLOW],
'regress/regress-crbug-217858': [PASS, SLOW],
'regress/regress-create-exception': [PASS, SLOW],
'regress/regress-json-stringify-gc': [PASS, SLOW],
'string-indexof-2': [PASS, SLOW],
'unicodelctest-no-optimization': [PASS, SLOW],
'unicodelctest': [PASS, SLOW],
'unicode-test': [PASS, SLOW],
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 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.
'array-sort': [PASS, TIMEOUT],
'packed-elements': [SKIP],
'regexp-global': [SKIP],
'compiler/alloc-numbers': [SKIP],
'harmony/symbols': [SKIP],
2014-03-17 08:30:04 +00:00
# Issue 3219:
'getters-on-elements': [PASS, ['gc_stress == True', FAIL]],
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.
'big-array-literal': [SKIP],
'big-object-literal': [SKIP],
'regress/regress-crbug-178790': [SKIP],
}], # 'asan == True'
2010-12-07 11:31:57 +00:00
##############################################################################
2013-09-24 12:08:33 +00:00
['arch == arm or arch == android_arm', {
# Slow tests which times out in debug mode.
'try': [PASS, ['mode == debug', SKIP]],
'debug-scripts-request': [PASS, ['mode == debug', SKIP]],
'array-constructor': [PASS, ['mode == debug', SKIP]],
'regress/regress-1122': [PASS, ['mode == debug and arch == android_arm', SKIP]],
# Flaky test that can hit compilation-time stack overflow in debug mode.
'unicode-test': [PASS, ['mode == debug', PASS, FAIL]],
# Times out often in release mode on ARM.
2014-03-20 12:27:36 +00:00
'compiler/regress-stacktrace-methods': [PASS, ['mode == release', TIMEOUT]],
2013-09-24 12:08:33 +00:00
'array-splice': [PASS, TIMEOUT],
# Long running test.
'string-indexof-2': [PASS, TIMEOUT],
'mirror-object': [PASS, TIMEOUT],
2014-01-24 11:36:45 +00:00
# Long running tests. Skipping because having them timeout takes too long on
# the buildbot.
2013-09-24 12:08:33 +00:00
'compiler/alloc-number': [SKIP],
'regress/regress-490': [SKIP],
'regress/regress-634': [SKIP],
'regress/regress-create-exception': [SKIP],
'regress/regress-3247124': [SKIP],
# Requires bigger stack size in the Genesis and if stack size is increased,
# the test requires too much time to run. However, the problem test covers
# should be platform-independent.
'regress/regress-1132': [SKIP],
# Currently always deopt on minus zero
'math-floor-of-div-minus-zero': [SKIP],
2013-11-26 16:53:04 +00:00
############################################################################
# Slow tests.
'regress/regress-2185-2': [PASS, SLOW],
'mirror-object': [PASS, SLOW],
'compiler/osr-with-args': [PASS, SLOW],
'array-sort': [PASS, SLOW],
'packed-elements': [PASS, SLOW],
'regress/regress-91008': [PASS, SLOW],
'regress/regress-2790': [PASS, SLOW],
'regress/regress-json-stringify-gc': [PASS, SLOW],
'regress/regress-1122': [PASS, SLOW],
2013-09-24 12:08:33 +00:00
}], # 'arch == arm or arch == android_arm'
2012-06-20 14:08:03 +00:00
2010-12-07 11:31:57 +00:00
##############################################################################
2014-04-15 16:39:21 +00:00
['arch == mipsel or arch == mips', {
2013-09-24 12:08:33 +00:00
# Slow tests which times out in debug mode.
'try': [PASS, ['mode == debug', SKIP]],
'debug-scripts-request': [PASS, ['mode == debug', SKIP]],
'array-constructor': [PASS, ['mode == debug', SKIP]],
# Times out often in release mode on MIPS.
2014-03-20 12:27:36 +00:00
'compiler/regress-stacktrace-methods': [PASS, ['mode == release', TIMEOUT]],
2013-09-24 12:08:33 +00:00
'array-splice': [PASS, TIMEOUT],
# Long running test.
'mirror-object': [PASS, TIMEOUT],
'string-indexof-2': [PASS, TIMEOUT],
2014-01-24 11:36:45 +00:00
# Long running tests. Skipping because having them timeout takes too long on
# the buildbot.
2013-09-24 12:08:33 +00:00
'compiler/alloc-number': [SKIP],
'regress/regress-490': [SKIP],
'regress/regress-634': [SKIP],
'regress/regress-create-exception': [SKIP],
'regress/regress-3247124': [SKIP],
# Requires bigger stack size in the Genesis and if stack size is increased,
# the test requires too much time to run. However, the problem test covers
# should be platform-independent.
'regress/regress-1132': [SKIP],
# Currently always deopt on minus zero
'math-floor-of-div-minus-zero': [SKIP],
2014-04-15 16:39:21 +00:00
}], # 'arch == mipsel or arch == mips'
2013-06-17 15:06:41 +00:00
2014-07-09 11:08:26 +00:00
##############################################################################
['arch == mips64el', {
# Slow tests which times out in debug mode.
'try': [PASS, ['mode == debug', SKIP]],
'debug-scripts-request': [PASS, ['mode == debug', SKIP]],
'array-constructor': [PASS, ['mode == debug', SKIP]],
# Times out often in release mode on MIPS.
'compiler/regress-stacktrace-methods': [PASS, PASS, ['mode == release', TIMEOUT]],
'array-splice': [PASS, TIMEOUT],
# Long running test.
'mirror-object': [PASS, TIMEOUT],
'string-indexof-2': [PASS, TIMEOUT],
# BUG(3251035): Timeouts in long looping crankshaft optimization
# tests. Skipping because having them timeout takes too long on the
# buildbot.
'compiler/alloc-number': [PASS, SLOW],
'compiler/array-length': [PASS, SLOW],
'compiler/assignment-deopt': [PASS, SLOW],
'compiler/deopt-args': [PASS, SLOW],
'compiler/inline-compare': [PASS, SLOW],
'compiler/inline-global-access': [PASS, SLOW],
'compiler/optimized-function-calls': [PASS, SLOW],
'compiler/pic': [PASS, SLOW],
'compiler/property-calls': [PASS, SLOW],
'compiler/recursive-deopt': [PASS, SLOW],
'compiler/regress-4': [PASS, SLOW],
'compiler/regress-funcaller': [PASS, SLOW],
'compiler/regress-rep-change': [PASS, SLOW],
'compiler/regress-arguments': [PASS, SLOW],
'compiler/regress-funarguments': [PASS, SLOW],
'compiler/regress-3249650': [PASS, SLOW],
'compiler/simple-deopt': [PASS, SLOW],
'regress/regress-490': [PASS, SLOW],
'regress/regress-634': [PASS, SLOW],
'regress/regress-create-exception': [PASS, SLOW],
'regress/regress-3218915': [PASS, SLOW],
'regress/regress-3247124': [PASS, SLOW],
# Requires bigger stack size in the Genesis and if stack size is increased,
# the test requires too much time to run. However, the problem test covers
# should be platform-independent.
'regress/regress-1132': [SKIP],
# Currently always deopt on minus zero
'math-floor-of-div-minus-zero': [SKIP],
}], # 'arch == mips64el'
['arch == mips64el and simulator_run == False', {
# Random failures on HW, need investigation.
'debug-*': [SKIP],
}],
2013-04-09 08:39:01 +00:00
##############################################################################
# Native Client uses the ARM simulator so will behave similarly to arm
# on mjsunit tests.
# TODO(bradchen): enable more tests for NaCl V8 when it stops using
# the ARM simulator.
##############################################################################
2013-09-24 12:08:33 +00:00
['arch == nacl_ia32 or arch == nacl_x64', {
# There is no /tmp directory for NaCl runs
'd8-os': [SKIP],
2013-04-09 08:39:01 +00:00
2013-09-24 12:08:33 +00:00
# Stack manipulations in LiveEdit is not implemented for this arch.
'debug-liveedit-check-stack': [SKIP],
'debug-liveedit-stack-padding': [SKIP],
'debug-liveedit-restart-frame': [SKIP],
'debug-liveedit-double-call': [SKIP],
2014-05-22 07:32:59 +00:00
'harmony/generators-debug-liveedit': [SKIP],
2013-04-09 08:39:01 +00:00
2013-09-24 12:08:33 +00:00
# NaCl builds have problems with this test since Pepper_28.
# V8 Issue 2786
'math-exp-precision': [SKIP],
2013-07-18 12:21:46 +00:00
2013-09-24 12:08:33 +00:00
# Requires bigger stack size in the Genesis and if stack size is increased,
# the test requires too much time to run. However, the problem test covers
# should be platform-independent.
'regress/regress-1132': [SKIP],
2013-04-09 08:39:01 +00:00
2013-09-24 12:08:33 +00:00
# Poor performance for NaCl V8 causes an assertion failure for this test.
'regress/regress-165637': [SKIP],
2013-04-09 08:39:01 +00:00
2013-09-24 12:08:33 +00:00
# Skip long running test that times out in debug mode and goes OOM on NaCl.
'regress/regress-crbug-160010': [SKIP],
2013-10-31 11:51:59 +00:00
# Bug(v8:2978).
'lithium/MathExp': [PASS, FAIL],
2014-03-21 10:34:07 +00:00
# Lead to OOM:
'string-oom-*': [SKIP],
2014-03-31 07:54:22 +00:00
# Crashes.
'harmony/private': [SKIP],
'harmony/symbols': [SKIP],
2013-09-24 12:08:33 +00:00
}], # 'arch == nacl_ia32 or arch == nacl_x64'
2013-07-24 12:04:29 +00:00
##############################################################################
2013-09-24 12:08:33 +00:00
['deopt_fuzzer == True', {
# Skip tests that are not suitable for deoptimization fuzzing.
'assert-opt-and-deopt': [SKIP],
'never-optimize': [SKIP],
'regress/regress-2185-2': [SKIP],
'harmony/object-observe': [SKIP],
'readonly': [SKIP],
'array-feedback': [SKIP],
# Deopt every n garbage collections collides with deopt every n times.
'regress/regress-2653': [SKIP],
}], # 'deopt_fuzzer == True'
]