v8/tools/unittests
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
..
testdata [no-wasm] Skip wasm tests if wasm is disabled 2021-02-22 11:06:40 +00:00
__init__.py [test] make python recognize tools and tools/unittests as packages 2018-12-17 12:12:43 +00:00
compare_torque_output_test.py [torque] Add support for torque output comparison 2020-01-21 14:39:04 +00:00
predictable_wrapper_test.py [test] Move predictable testing into a python wrapper 2017-12-08 14:46:10 +00:00
run_perf_test.py [test] Make finding build directory more flexible 2020-09-28 12:38:16 +00:00
run_tests_test.py [no-wasm] Skip wasm tests if wasm is disabled 2021-02-22 11:06:40 +00:00
v8_presubmit_test.py [test] add an option for disabling linter cache in the pre_submit check 2018-12-18 15:37:09 +00:00