base tests: make sure cargo-clippy binary can be called directly

This commit is contained in:
Matthias Krüger 2018-12-14 21:43:40 +01:00
parent a9509eb598
commit 9fb8022026

View file

@ -26,6 +26,11 @@ cd clippy_lints && cargo test && cd ..
cd rustc_tools_util && cargo test && cd .. cd rustc_tools_util && cargo test && cd ..
cd clippy_dev && cargo test && cd .. cd clippy_dev && cargo test && cd ..
# make sure clippy can be called via ./path/to/cargo-clippy
cd clippy_workspace_tests
../target/debug/cargo-clippy
cd ..
# Perform various checks for lint registration # Perform various checks for lint registration
./util/dev update_lints --check ./util/dev update_lints --check
cargo +nightly fmt --all -- --check cargo +nightly fmt --all -- --check