crosvm/integration_tests/run
Keiichi Watanabe eb8cfb4b18 tools: Add crosvm-direct support for run_tests
BUG=b:220292205
TEST=./tools/run_tests --target=host --crosvm-direct

Change-Id: Ife25129d405cd1e514bf812cc31621313f2007b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3708759
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
2022-06-22 21:51:53 +00:00

11 lines
480 B
Bash
Executable file

#!/bin/bash
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file
# We require the crosvm binary to build before running the integration tests.
# There is an RFC for cargo to allow for this kind of dependency:
# https://github.com/rust-lang/cargo/issues/9096
cd $(dirname $0)
(cd .. && cargo build $@ && cargo build --features=direct --bin crosvm-direct)
cargo test $@