• Clemens Backes's avatar
    [no-wasm] Skip wasm tests if wasm is disabled · 18136654
    Clemens Backes authored
    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/+/2710425Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#72898}
    18136654
BUILD.gn 197 KB