• Vlad Tsyrklevich's avatar
    Create separate gwp_asan_unittests target · 207f3275
    Vlad Tsyrklevich authored
    The GWP-ASan unit tests need to use multi-process tests to tests
    crashing processes and modifying global state. On Android (before Q)
    running multi-process tests requires not running on the main thread, but
    whether tests do/don't run on the main thread is a global property of
    the entire unit test suite and setting the entirety of
    components_unittests to not run on the main thread causes a multitude of
    failures.
    
    Instead, create a gwp_asan_unittests test suite just for the GWP-ASan
    tests, run it everywhere components_unittests used to run, and set it to
    launch tests off of the main thread.
    
    Bug: 973167
    Change-Id: I40aa9ca99ee32580a570ceda9b282eed05705eaa
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730770
    Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
    Commit-Queue: Vitaly Buka <vitalybuka@chromium.org>
    Reviewed-by: default avatarVitaly Buka <vitalybuka@chromium.org>
    Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
    Auto-Submit: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#683625}
    207f3275
tryserver.chromium.linux.json 36.8 KB