• Dirk Pranke's avatar
    Add initial support for `mb run --swarmed`. · 8cb6aa78
    Dirk Pranke authored
    This adds the initial support to MB to be able to build and run
    a binary under swarming easily. It builds on the existing code
    in MB for building and isolating targets, and just adds uploading
    the isolate, triggering the task, waiting for and collecting the
    results.
    e
    The end goal is that it should be this easy to reproduce a failure
    in a bot config:
    
        $ fetch chromium && python src\tools\mb\mb.py run --swarmed \
            --master tryserver.chromium.win \
            --builder win-msvc-rel \
            out\Release base_unittests
    
    Adding this gives us a starting framework that we can build on
    for the bit.ly/chromium-test-runner-api cleanup work.
    
    R=jbudorick@chromium.org, maruel@chromium.org
    BUG=794783
    
    Change-Id: I160706b1a563bceb36b8465857d32692a3ca004d
    Reviewed-on: https://chromium-review.googlesource.com/825925
    Commit-Queue: Dirk Pranke <dpranke@chromium.org>
    Reviewed-by: default avatarMarc-Antoine Ruel <maruel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#524568}
    8cb6aa78
user_guide.md 12.7 KB