mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
6868c0a72f
BUG=None TEST=docker/build_crosvm_base.sh docker/build_crosvm.sh docker/wrapped_smoke_test.sh docker/crosvm_wrapper.sh kokoro/kokoro_simulator.sh bin/smoke_test Change-Id: I55a805ba6326c3c58973d1fe21172a5e3551c1e2 Reviewed-on: https://chromium-review.googlesource.com/1593723 Commit-Ready: Zach Reizner <zachr@chromium.org> Tested-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org>
19 lines
610 B
Bash
Executable file
19 lines
610 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,gpu-forward \
|
|
--all --exclude aarch64 $TEST_FLAGS -- \
|
|
--test-threads=1 $TEST_RUNNER_FLAGS
|
|
echo "Running cargo fmt"
|
|
bin/fmt --check
|