• Michael Achenbach's avatar
    [test] Make auto-detect of test options more robust · 5c2f84e0
    Michael Achenbach authored
    The test runner automatically infers certain options from the build
    product if it was generated with GN.
    
    This CL makes the code for inferring the options more generic and makes
    sure that:
    1) boolean options can't be set on builds where they don't make sense
    (e.g. can't pass --asan in a non-asan build)
    2) string options are equal to the derived option from the build
    (e.g. can't test arch x64 when build is x86)
    
    Bug: v8:5533
    Change-Id: I4badf3a17a2fc23ddb9d129602aa15f12665821f
    Reviewed-on: https://chromium-review.googlesource.com/552542Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Michael Achenbach <machenbach@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46385}
    5c2f84e0
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...