• Dirk Pranke's avatar
    Change blink_web_tests and blink_python_tests test types. · 71c10e67
    Dirk Pranke authored
    This CL changes the GN blink_web_tests and blink_python_tests
    targets to use a new script_test() GN template.
    
    A script_test is a kind of test target that implements the
    [test executable API](//docs/testing/test_executable_api.md)
    via a Python script (rather than being an executable target).
    
    :blink_web_tests, :blink_python_tests are examples of this type
    of test; other targets will be switched over in future CLs as well.
    
    Most importantly, using script_test() will ensure that
    the $root_build_dir/bin/run_$target_name test wrappers are
    generated with all of the appropriate arguments, simplifying the
    invocation of the test both for devs and for the bots.
    
    Bug: 816629
    Change-Id: Ib4bfd2342d762db24cdef75b64ed5dd7fbf3c10e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2380936
    Commit-Queue: Dirk Pranke <dpranke@google.com>
    Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
    Reviewed-by: default avatarRakib Hasan <rmhasan@google.com>
    Cr-Commit-Position: refs/heads/master@{#812523}
    71c10e67
BUILD.gn 45.5 KB