v8/test/wasm-js/wasm-js.status
Clemens Backes 1813665413 [no-wasm] Skip wasm tests if wasm is disabled
This CL introduces a test runner flag to detect if webassembly has been
disabled. Since all tests that require wasm are alrady skipped in
lite mode, we introduce a has_webassembly flag for the test runner which
checks for v8_enable_webassembly=true and v8_enable_lite_mode=false.
As a drive-by, we also do not set the V8_ENABLE_WEBASSEMBLY
preprocessor flag if lite mode is enabled.

The status files are updated by splitting wasm tests from the
"lite_mode" section and checking for "not has_webassembly" instead.

Note that the v8_enable_webassembly=false configuration is not tested
on any bot currently, but I will make sure that all tests keep passing
on further changes in this configuration.

R=machenbach@chromium.org

Bug: v8:11238
Cq-Include-Trybots: luci.v8.try:v8_linux64_no_wasm_compile_rel
Change-Id: I1841eb1f1633cb47e0c079f4a4a4d769ca3a9cbb
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2710425
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72898}
2021-02-22 11:06:40 +00:00

56 lines
2.1 KiB
Plaintext

# Copyright 2018 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, {
# TODO(v8:10556): Remove sub-typing in the reference-types implementation
'constructor/instantiate': [FAIL],
'instance/constructor': [FAIL],
'proposals/js-types/constructor/instantiate': [FAIL],
'proposals/js-types/global/constructor': [FAIL],
'proposals/js-types/global/value-get-set': [FAIL],
'proposals/js-types/instance/constructor': [FAIL],
'prototypes': [FAIL],
# Outdated proposals, will work after rebasing.
'proposals/reference-types/global/value-get-set': [FAIL],
'proposals/reference-types/global/constructor': [FAIL],
'proposals/bulk-memory-operations/global/value-get-set': [FAIL],
'proposals/bulk-memory-operations/global/constructor': [FAIL],
# These are slow, and not useful to run for the proposals:
'proposals/reference-types/limits': [SKIP],
'proposals/bulk-memory-operations/limits': [SKIP],
'proposals/js-types/limits': [SKIP],
# TODO(wasm): Update memory limit.
'limits': [FAIL],
}], # ALWAYS
['arch == s390 or arch == s390x or system == aix', {
# https://bugs.chromium.org/p/v8/issues/detail?id=8402
'instance/constructor': [SKIP],
'constructor/instantiate': [SKIP],
}], # 'arch == s390 or arch == s390x or system == aix'
['mode == debug or simulator_run or variant != default or arch == arm or tsan or msan or asan', {
# Slow, and we always have the same limits anyway.
# ODroid bots don't have enough memory to run the test.
'limits': [SKIP],
}], # mode == debug or simulator_run or variant != default or arch == arm or tsan or msan or asan
##############################################################################
# TODO(v8:7777): Change this once wasm is supported in jitless mode.
['not has_webassembly or variant == jitless', {
'*': [SKIP],
}], # not has_webassembly or variant == jitless
################################################################################
['variant == stress_snapshot', {
'*': [SKIP], # only relevant for mjsunit tests.
}],
]