• Dirk Pranke's avatar
    Have ChromeOS bin/run wrappers call test_env.py directly · f82cbb51
    Dirk Pranke authored
    Currently, when a bot runs a test (say, url_unittests) on a
    is_chromeos_device build, it'll launch
    `python test_env.py bin/run_url_unittests` (roughly speaking).
    
    This CL flips that around so that the generated bin/run_ wrapper
    script launches url_unittests via test_env.py (and the bot will
    invoke bin/run_url_unittests directly).
    
    This will make ChromeOS consistent with every platform other
    than Android; Android will be converted to match as well in a
    separate CL.
    
    Note that apart from the test_env.py inversion, the location
    of various other command line argument injections is unchanged,
    so bin/run_url_unittests should run with the same args as before.
    
    Bug: 816629
    Change-Id: I5d0ac2ed847acb9685b27c41df1ed616311f64a6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368537
    Commit-Queue: Dirk Pranke <dpranke@google.com>
    Reviewed-by: default avatarBen Pastene <bpastene@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#822012}
    f82cbb51
mb.py 75.6 KB