#!/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 test $@ |