Add a sanity-test mode to the cros vm test runner.
When a test command is specified, the run_cros_vm_test will run the vm sanity test. This test is baked into the VM and smoke checks the system browser by loading empty pages and running some simple javascript. Since it depends on the system browser, we need to first deploy a locally built Chrome to the VM (via the --deploy arg). The deploy script needs to know the gn args that built the browser to know which libs to copy over. Since we don't have the full set of args at test-time, give it a dummy set of args to trigger the default deploying behavior. Bug: 832374 Change-Id: I84f7fdd94672fcb220eaa4d9625395c1d0ab7636 Reviewed-on: https://chromium-review.googlesource.com/1050981 Commit-Queue: Ben Pastene <bpastene@chromium.org> Reviewed-by:Dirk Pranke <dpranke@chromium.org> Cr-Commit-Position: refs/heads/master@{#558372}
Showing
Please register or sign in to comment