• Ben Pastene's avatar
    Add a host-side mode of execution for cros vm test runner. · e5e7dc37
    Ben Pastene authored
    This will add a positional arg to run_vm_test.py that can take one of two
    values:
    
    - "host-cmd": Runs a command on the host. Just launches the vm then
    immediately calls the passed in cmd on the host. It's assumed the cmd will
    handle data deps, ssh commands, etc.
    
    - "vm-test": Runs a test in the vm. Takes care of spawning the vm, pushing
    the test and its deps to the vm, executing the test, and tears down the vm.
    (This is the current default behavior.)
    
    Bug: 832374
    Change-Id: Ib8bd1b2e7dd393f8a4578979fa164381a8342ef2
    Reviewed-on: https://chromium-review.googlesource.com/1038747
    Commit-Queue: Ben Pastene <bpastene@chromium.org>
    Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#555279}
    e5e7dc37
rules.gni 1.72 KB