mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
84be74727c
We don't use it for ARCVM now. BUG=None TEST=`emerge-eve crosvm` Change-Id: I14343a2eb24c24a0216950b7c4eeb56ac482973e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1958569 Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Lepton Wu <lepton@chromium.org> Auto-Submit: Lepton Wu <lepton@chromium.org>
19 lines
598 B
Bash
Executable file
19 lines
598 B
Bash
Executable file
#!/bin/bash
|
|
# Copyright 2019 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.
|
|
|
|
set -ex
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
cd ../
|
|
|
|
rustup default "$(cat rust-toolchain)"
|
|
rustup component add rustfmt-preview
|
|
cargo --version && rustc --version && rustfmt --version
|
|
echo "Running cargo test"
|
|
cargo test --no-fail-fast --features plugin,default-no-sandbox,wl-dmabuf,gpu,tpm \
|
|
--all --exclude aarch64 $TEST_FLAGS -- \
|
|
--test-threads=1 $TEST_RUNNER_FLAGS
|
|
echo "Running cargo fmt"
|
|
bin/fmt --check
|