Run cros tast and sanity tests via on_device scripts.

Instead of passing in the single command directly to cros_run_test. (Or
in the case of vm_sanity, letting cros_run_test do that for us.)

This will let us add additional pre-test setup commands for both tests.
(None for now, but coverage tests will use some.)

Bug: 934059
Change-Id: Iba15f4817293c4a1c5db2dabc89f4a97fee49664
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1542298
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#645790}
1 file changed