mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 09:33:01 +00:00
6edc4e86d2
The code has been written before we used argh. The CLI is specified in tools/testvm. The implementation remains in impl/testvm.py so it can be shared with run_tests.py for automatically managing the VM when running tests. BUG=b:275717759 TEST=x86vm run/up/wait/stop TEST=run_tests --dut=vm Change-Id: I2bdb554e7ed17a9f397fd8fb02f754e4ec1e52d7 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4390729 Commit-Queue: Dennis Kempin <denniskempin@google.com> Reviewed-by: Zihan Chen <zihanchen@google.com>
12 lines
365 B
Python
Executable file
12 lines
365 B
Python
Executable file
#!/usr/bin/env python3
|
|
# Copyright 2022 The ChromiumOS Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import sys
|
|
from impl.common import TOOLS_ROOT, cmd
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(
|
|
cmd(sys.executable, TOOLS_ROOT / "testvm", *sys.argv[1:], "--arch=aarch64").fg(check=False)
|
|
)
|