v8/test/wasm-js
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
..
third_party Revert "[wasm] Re-exported globals preserve their identity" 2020-06-24 22:57:41 +00:00
after.js [wasm][tests] Sync testharness of wasm-js tests with wpt 2020-06-16 08:17:19 +00:00
BUILD.gn Reland "[wasm] Add a new wasm-js testsuite to run js-api tests" 2018-10-18 20:18:55 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
report.js [wasm][tests] Sync testharness of wasm-js tests with wpt 2020-06-16 08:17:19 +00:00
testcfg.py [wasm][memory64] Update spec tests 2021-02-08 13:17:29 +00:00
testharness-additions.js [wasm][tests] Sync testharness of wasm-js tests with wpt 2020-06-16 08:17:19 +00:00
tests.tar.gz.sha1 [wasm][memory64] Update spec tests 2021-02-08 13:17:29 +00:00
wasm-js.status [no-wasm] Skip wasm tests if wasm is disabled 2021-02-22 11:06:40 +00:00