chromite: Replace cros_run_vm_test with cros_run_test
BUG=chromium:894730
TEST=Bots
Change-Id: I60a646a13b770504837b9db148a1982902d9b4bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/1626471
Tested-by: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: David Burger <dburger@chromium.org>
Commit-Queue: Achuith Bhandarkar <achuith@chromium.org>
diff --git a/api/controller/test.py b/api/controller/test.py
index 50aa51f..196d818 100644
--- a/api/controller/test.py
+++ b/api/controller/test.py
@@ -173,7 +173,7 @@
if not vm_tests:
cros_build_lib.Die('vm_tests must contain at least one element')
- cmd = ['cros_run_vm_test', '--debug', '--no-display', '--copy-on-write',
+ cmd = ['cros_run_test', '--debug', '--no-display', '--copy-on-write',
'--board', build_target.name, '--image-path', vm_image.path,
'--%s' % test_pb2.VmTestRequest.TestHarness.Name(test_harness).lower()]
cmd.extend(vm_test.pattern for vm_test in vm_tests)