summary refs log tree commit diff
path: root/docker
diff options
context:
space:
mode:
authorKeiichi Watanabe <keiichiw@chromium.org>2020-04-10 21:43:45 +0900
committerCommit Bot <commit-bot@chromium.org>2020-04-15 18:01:34 +0000
commit40af8ee7482daa49f775963c983fbfc1afeb2006 (patch)
treeb0cd28cabc58a1e49228d23c43616f5fd5eff91a /docker
parent05489a7637c10232e759ce3885e860a4f8d2d1be (diff)
downloadcrosvm-40af8ee7482daa49f775963c983fbfc1afeb2006.tar
crosvm-40af8ee7482daa49f775963c983fbfc1afeb2006.tar.gz
crosvm-40af8ee7482daa49f775963c983fbfc1afeb2006.tar.bz2
crosvm-40af8ee7482daa49f775963c983fbfc1afeb2006.tar.lz
crosvm-40af8ee7482daa49f775963c983fbfc1afeb2006.tar.xz
crosvm-40af8ee7482daa49f775963c983fbfc1afeb2006.tar.zst
crosvm-40af8ee7482daa49f775963c983fbfc1afeb2006.zip
crosvm: Enable cargo clippy in smoke_test
Enable cargo clippy in the smoke test script for kokoro with many whitelisted rules
to be resolved. This check will reject compile warnings as well.

Also, this CL removes cargo check in Docker.crosvm as cargo clippy is a superset of
cargo check.

BUG=chromium:908640
TEST=./wrapped_smoke_test.sh

Change-Id: Iaa546fc0166e3d9762c5e91144d036725d38b0f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2145538
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Tested-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile.crosvm4
1 files changed, 0 insertions, 4 deletions
diff --git a/docker/Dockerfile.crosvm b/docker/Dockerfile.crosvm
index 00649ba..60ba5a9 100644
--- a/docker/Dockerfile.crosvm
+++ b/docker/Dockerfile.crosvm
@@ -2,10 +2,6 @@ FROM crosvm-base
 
 COPY . /platform/crosvm
 
-# Compile crosvm with all features, including experimental and/or platform specific ones that
-# are disabled at 'cargo install' below.
-RUN cargo check --all-features
-
 RUN cargo install --features 'default-no-sandbox wl-dmabuf gpu x' --path . --root /usr
 
 ARG UID=1000