blob: d9caf217d56cdaefcba708b800181a246f688b98 [file] [log] [blame]
#!/bin/bash
# Copyright 2021 The ChromiumOS Authors
# 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 $@