2017-04-27 12:28:05 +00:00
|
|
|
# Copyright 2016 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, {
|
2020-07-14 09:49:12 +00:00
|
|
|
'skip-stack-guard-page': [PASS, ['((arch == ppc or arch == ppc64 or arch == s390 or arch == s390x) and simulator_run)', SKIP]],
|
2021-03-12 11:59:13 +00:00
|
|
|
# Missing rebase in the proposal repository.
|
|
|
|
'proposals/js-types/table': [FAIL],
|
2023-01-24 13:20:34 +00:00
|
|
|
# "data" is supposed to fail for "data segment does not fit"; missing rebase on
|
|
|
|
# https://github.com/WebAssembly/spec/commit/7fa2f20a.
|
|
|
|
'proposals/memory64/data': [FAIL],
|
|
|
|
# "elem" is supposed to fail for "elements segment does not fit"; missing rebase on
|
|
|
|
# https://github.com/WebAssembly/spec/commit/7fa2f20a.
|
|
|
|
'proposals/memory64/elem': [FAIL],
|
|
|
|
# "imports" is supposed to fail for "multiple tables"; missing rebase on
|
|
|
|
# https://github.com/WebAssembly/spec/commit/7fa2f20a.
|
|
|
|
'proposals/memory64/imports': [FAIL],
|
|
|
|
# "linking" is supposed to fail for "elements segment does not fit"; missing rebase on
|
|
|
|
# https://github.com/WebAssembly/spec/commit/7fa2f20a.
|
2021-03-12 11:59:13 +00:00
|
|
|
'proposals/memory64/linking': [FAIL],
|
2023-01-24 13:20:34 +00:00
|
|
|
# "table" is supposed to fail for "multiple tables"; missing rebase on
|
|
|
|
# https://github.com/WebAssembly/spec/commit/7fa2f20a.
|
2021-03-12 11:59:13 +00:00
|
|
|
'proposals/memory64/table': [FAIL],
|
2023-01-24 13:20:34 +00:00
|
|
|
# "unreached-invalid" is supposed to fail for "type mismatch"; missing rebase on
|
|
|
|
# https://github.com/WebAssembly/spec/commit/7fa2f20a.
|
2021-03-12 11:59:13 +00:00
|
|
|
'proposals/memory64/unreached-invalid': [FAIL],
|
2019-12-02 17:47:12 +00:00
|
|
|
|
2019-12-11 12:02:45 +00:00
|
|
|
# TODO(wasm): Roll newest tests into "js-types" repository.
|
2021-02-03 18:21:54 +00:00
|
|
|
'proposals/js-types/globals': [FAIL],
|
2019-08-28 11:26:02 +00:00
|
|
|
'proposals/js-types/linking': [FAIL],
|
2019-12-02 17:47:12 +00:00
|
|
|
|
2020-07-02 13:13:23 +00:00
|
|
|
# TODO(wasm): Roll newest tests into "tail-call" repository.
|
|
|
|
'proposals/tail-call/exports': [FAIL],
|
|
|
|
'proposals/tail-call/func': [FAIL],
|
|
|
|
'proposals/tail-call/globals': [FAIL],
|
|
|
|
'proposals/tail-call/linking': [FAIL],
|
|
|
|
|
2021-05-21 12:08:41 +00:00
|
|
|
# Tests that need to run sequentially (e.g. due to memory consumption).
|
2021-11-26 17:11:52 +00:00
|
|
|
'simd_f32x4*': [PASS, HEAVY],
|
|
|
|
'simd_f64x2*': [PASS, HEAVY],
|
2021-05-21 12:08:41 +00:00
|
|
|
'f32*': [PASS, HEAVY],
|
|
|
|
'f64*': [PASS, HEAVY],
|
2017-04-27 12:28:05 +00:00
|
|
|
}], # ALWAYS
|
|
|
|
|
2020-09-22 22:00:36 +00:00
|
|
|
['arch == arm and not simulator_run', {
|
|
|
|
# See https://crbug.com/v8/10938 denormals not handled correctly on ARM.
|
2021-11-26 17:11:52 +00:00
|
|
|
'simd_f32x4': [PASS, FAIL],
|
|
|
|
'simd_f32x4_arith': [PASS, FAIL],
|
|
|
|
'simd_f32x4_cmp': [PASS, FAIL],
|
2020-09-24 22:51:21 +00:00
|
|
|
# This test only has 1 problematic use of f32x4.min and f32x4.div, consider
|
|
|
|
# removing it from upstream, then we can run this test.
|
2021-11-26 17:11:52 +00:00
|
|
|
'simd_splat' : [PASS, FAIL],
|
|
|
|
'simd_f32x4_pmin_pmax' : [PASS, FAIL],
|
2020-09-22 22:00:36 +00:00
|
|
|
}], # arch == arm and not simulator_run
|
|
|
|
|
2022-09-08 11:39:11 +00:00
|
|
|
['arch == mips64el or arch == mips64', {
|
2017-05-22 10:41:53 +00:00
|
|
|
# These tests fail because mips does not support the correct NaN bit patterns.
|
2019-08-27 14:14:34 +00:00
|
|
|
'float_misc': [SKIP],
|
|
|
|
'float_exprs': [SKIP],
|
|
|
|
'f32': [SKIP],
|
|
|
|
'f64': [SKIP],
|
|
|
|
'f32_bitwise': [SKIP],
|
|
|
|
'f64_bitwise': [SKIP],
|
|
|
|
'proposals/reference-types/conversions': [SKIP],
|
|
|
|
'proposals/bulk-memory-operations/conversions': [SKIP],
|
2019-09-04 11:53:50 +00:00
|
|
|
'proposals/js-types/f32': [SKIP],
|
|
|
|
'proposals/js-types/f64': [SKIP],
|
|
|
|
'proposals/js-types/f32_bitwise': [SKIP],
|
|
|
|
'proposals/js-types/f64_bitwise': [SKIP],
|
|
|
|
'proposals/js-types/float_exprs': [SKIP],
|
|
|
|
'proposals/js-types/float_misc': [SKIP],
|
|
|
|
'proposals/js-types/conversions': [SKIP],
|
2019-12-17 07:31:56 +00:00
|
|
|
'proposals/bulk-memory-operations/f32': [SKIP],
|
|
|
|
'proposals/bulk-memory-operations/f64': [SKIP],
|
|
|
|
'proposals/reference-types/f32': [SKIP],
|
|
|
|
'proposals/reference-types/f64': [SKIP],
|
|
|
|
'proposals/bulk-memory-operations/float_misc': [SKIP],
|
|
|
|
'proposals/reference-types/float_misc': [SKIP],
|
2020-07-02 13:13:23 +00:00
|
|
|
'proposals/tail-call/f32': [SKIP],
|
|
|
|
'proposals/tail-call/f32_bitwise': [SKIP],
|
|
|
|
'proposals/tail-call/f64': [SKIP],
|
|
|
|
'proposals/tail-call/f64_bitwise': [SKIP],
|
|
|
|
'proposals/tail-call/float_exprs': [SKIP],
|
2020-07-06 07:39:41 +00:00
|
|
|
'proposals/tail-call/float_misc': [SKIP],
|
2020-07-02 13:13:23 +00:00
|
|
|
'proposals/tail-call/conversions': [SKIP],
|
2022-09-08 11:39:11 +00:00
|
|
|
}], # 'arch == mips64el or arch == mips64'
|
2017-05-22 10:41:53 +00:00
|
|
|
|
2022-09-08 11:39:11 +00:00
|
|
|
['(arch == mips64el or arch == mips64) and not simulator_run', {
|
2017-05-22 10:41:53 +00:00
|
|
|
# This test fail because mips does not support the correct NaN bit patterns.
|
|
|
|
# But it doesn't fail in simulator.
|
2019-08-27 14:14:34 +00:00
|
|
|
'conversions': [SKIP],
|
2022-09-08 11:39:11 +00:00
|
|
|
}], # '(arch == mips64el or arch == mips64) and not simulator_run'
|
2017-05-22 10:41:53 +00:00
|
|
|
|
2022-09-08 11:39:11 +00:00
|
|
|
['(arch == mips64el or arch == loong64) and simulator_run', {
|
2020-07-14 09:49:12 +00:00
|
|
|
# These tests need larger stack size on simulator.
|
|
|
|
'skip-stack-guard-page': '--sim-stack-size=8192',
|
|
|
|
'proposals/tail-call/skip-stack-guard-page': '--sim-stack-size=8192',
|
2022-09-08 11:39:11 +00:00
|
|
|
}], # '(arch == mips64el or arch == loong64) and simulator_run'
|
2020-07-14 09:49:12 +00:00
|
|
|
|
2021-02-09 16:11:55 +00:00
|
|
|
['arch == riscv64', {
|
|
|
|
# These tests need larger stack size on simulator.
|
|
|
|
'skip-stack-guard-page': '--sim-stack-size=8192',
|
|
|
|
'proposals/tail-call/skip-stack-guard-page': '--sim-stack-size=8192',
|
|
|
|
|
|
|
|
# SIMD is not fully implemented yet.
|
2021-11-26 17:11:52 +00:00
|
|
|
'simd*': [SKIP],
|
2022-08-04 01:56:44 +00:00
|
|
|
}], # 'arch == riscv64'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
['arch == riscv32', {
|
|
|
|
# These tests need larger stack size on simulator.
|
|
|
|
'skip-stack-guard-page': '--sim-stack-size=8192',
|
|
|
|
'proposals/tail-call/skip-stack-guard-page': '--sim-stack-size=8192',
|
|
|
|
|
|
|
|
# SIMD is not fully implemented yet.
|
|
|
|
'simd*': [SKIP],
|
|
|
|
|
|
|
|
'func': ['variant == stress', SKIP],
|
|
|
|
}], # 'arch == riscv32'
|
2021-02-09 16:11:55 +00:00
|
|
|
|
2017-06-06 19:54:56 +00:00
|
|
|
['arch == ppc or arch == ppc64', {
|
|
|
|
# These tests fail because ppc float min and max doesn't convert sNaN to qNaN.
|
2019-08-27 14:14:34 +00:00
|
|
|
'f32': [SKIP],
|
|
|
|
'f64': [SKIP],
|
2019-08-28 18:31:48 +00:00
|
|
|
'proposals/js-types/f32': [SKIP],
|
|
|
|
'proposals/js-types/f64': [SKIP],
|
2019-12-16 17:54:01 +00:00
|
|
|
'proposals/bulk-memory-operations/f32': [SKIP],
|
|
|
|
'proposals/bulk-memory-operations/f64': [SKIP],
|
|
|
|
'proposals/reference-types/f32': [SKIP],
|
|
|
|
'proposals/reference-types/f64': [SKIP],
|
2020-07-02 13:13:23 +00:00
|
|
|
'proposals/tail-call/f32': [SKIP],
|
|
|
|
'proposals/tail-call/f64': [SKIP],
|
2017-06-06 19:54:56 +00:00
|
|
|
# This test fails because ppc float to double doesn't convert sNaN to qNaN.
|
2019-08-27 14:14:34 +00:00
|
|
|
'conversions': [SKIP],
|
2019-08-28 18:31:48 +00:00
|
|
|
'proposals/js-types/conversions': [SKIP],
|
2019-12-16 17:54:01 +00:00
|
|
|
'proposals/bulk-memory-operations/conversions': [SKIP],
|
|
|
|
'proposals/reference-types/conversions': [SKIP],
|
2020-07-02 13:13:23 +00:00
|
|
|
'proposals/tail-call/conversions': [SKIP],
|
2017-06-06 19:54:56 +00:00
|
|
|
}], # 'arch == ppc or arch == ppc64'
|
|
|
|
|
|
|
|
['arch == s390 or arch == s390x', {
|
|
|
|
# These tests fail because s390 float min and max doesn't convert sNaN to qNaN.
|
2019-08-27 14:14:34 +00:00
|
|
|
'f32': [SKIP],
|
|
|
|
'f64': [SKIP],
|
2019-08-28 18:31:48 +00:00
|
|
|
'proposals/js-types/f32': [SKIP],
|
|
|
|
'proposals/js-types/f64': [SKIP],
|
2019-12-16 17:54:01 +00:00
|
|
|
'proposals/bulk-memory-operations/f32': [SKIP],
|
|
|
|
'proposals/bulk-memory-operations/f64': [SKIP],
|
|
|
|
'proposals/reference-types/f32': [SKIP],
|
|
|
|
'proposals/reference-types/f64': [SKIP],
|
2020-07-02 13:13:23 +00:00
|
|
|
'proposals/tail-call/f32': [SKIP],
|
|
|
|
'proposals/tail-call/f64': [SKIP],
|
2017-06-06 19:54:56 +00:00
|
|
|
}], # 'arch == s390 or arch == s390x'
|
|
|
|
|
2019-01-10 10:04:51 +00:00
|
|
|
##############################################################################
|
2021-02-22 09:37:09 +00:00
|
|
|
# TODO(v8:7777): Change this once wasm is supported in jitless mode.
|
|
|
|
['not has_webassembly or variant == jitless', {
|
2019-01-10 10:04:51 +00:00
|
|
|
'*': [SKIP],
|
2021-02-22 09:37:09 +00:00
|
|
|
}], # not has_webassembly or variant == jitless
|
2019-01-10 10:04:51 +00:00
|
|
|
|
2020-05-05 07:52:48 +00:00
|
|
|
################################################################################
|
|
|
|
['variant == stress_snapshot', {
|
|
|
|
'*': [SKIP], # only relevant for mjsunit tests.
|
2022-08-24 15:28:31 +00:00
|
|
|
}], # variant == stress_snapshot
|
2019-01-10 10:04:51 +00:00
|
|
|
|
2021-02-11 21:27:37 +00:00
|
|
|
##############################################################################
|
2021-04-22 23:38:28 +00:00
|
|
|
['no_simd_hardware == True', {
|
2021-11-26 17:11:52 +00:00
|
|
|
'simd*': [SKIP],
|
2022-11-22 10:44:39 +00:00
|
|
|
'proposals/tail-call/simd_lane': [SKIP],
|
2021-04-22 23:38:28 +00:00
|
|
|
}], # no_simd_hardware == True
|
2021-02-11 21:27:37 +00:00
|
|
|
|
2022-08-24 15:28:31 +00:00
|
|
|
##############################################################################
|
|
|
|
['variant == stress', {
|
|
|
|
# Spec tests are executing long enough even without stress mode.
|
|
|
|
# As stress mode is unlikely to flush out bugs, skip the tests there.
|
|
|
|
'*': [SKIP],
|
|
|
|
}], # variant == stress
|
|
|
|
|
2022-06-21 12:42:18 +00:00
|
|
|
##############################################################################
|
|
|
|
# Skip tests that require a large amount of virtual address space (inside the
|
|
|
|
# sandbox if that is enabled) if tsan is enabled.
|
2022-08-24 15:28:31 +00:00
|
|
|
['tsan == True', {
|
2022-06-21 12:42:18 +00:00
|
|
|
'memory_copy': [SKIP],
|
2022-08-24 15:28:31 +00:00
|
|
|
}], # tsan == True
|
2022-06-21 12:42:18 +00:00
|
|
|
|
2017-04-27 12:28:05 +00:00
|
|
|
]
|