v8/tools/unittests/testdata
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
..
builddirs/dir1/out/build [test] Make finding build directory more flexible 2020-09-28 12:38:16 +00:00
compare_torque [torque] Add support for torque output comparison 2020-01-21 14:39:04 +00:00
testroot1 [no-wasm] Skip wasm tests if wasm is disabled 2021-02-22 11:06:40 +00:00
testroot2 [no-wasm] Skip wasm tests if wasm is disabled 2021-02-22 11:06:40 +00:00
d8_mocked1.py Preparing v8 to use with python3 /tools 2019-02-19 09:12:07 +00:00
d8_mocked2.py Preparing v8 to use with python3 /tools 2019-02-19 09:12:07 +00:00
expected_test_results1.json [test] Switch to flattened json output 2020-10-08 13:05:11 +00:00
expected_test_results2.json [test] Switch to flattened json output 2020-10-08 13:05:11 +00:00
predictable_mocked.py Preparing v8 to use with python3 /tools 2019-02-19 09:12:07 +00:00
results_processor.py Preparing v8 to use with python3 /tools 2019-02-19 09:12:07 +00:00
test1.json [tools] Detect location of android build tools automatically 2018-07-25 11:23:55 +00:00
test2.json [tools] Detect location of android build tools automatically 2018-07-25 11:23:55 +00:00
test3.json [tools] Detect location of android build tools automatically 2018-07-25 11:23:55 +00:00