mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-17 19:14:16 +00:00
slightly simplify integration tests
This commit is contained in:
parent
d6ca12a70d
commit
a90084d587
@ -29,12 +29,11 @@ CLIPPY="`pwd`/target/debug/cargo-clippy clippy"
|
||||
# run clippy on its own codebase...
|
||||
${CLIPPY} --all-targets --all-features -- -D clippy::all -D clippy::internal
|
||||
# ... and some test directories
|
||||
CWD_OLD=`pwd`
|
||||
for dir in clippy_workspace_tests clippy_workspace_tests/src clippy_workspace_tests/subcrate clippy_workspace_tests/subcrate/src clippy_dev rustc_tools_util
|
||||
do
|
||||
cd ${dir}
|
||||
${CLIPPY} -- -D clippy::all
|
||||
cd ${CWD_OLD}
|
||||
cd -
|
||||
done
|
||||
|
||||
|
||||
|
@ -28,9 +28,6 @@ function check() {
|
||||
}
|
||||
|
||||
case ${INTEGRATION} in
|
||||
rust-lang/cargo)
|
||||
check
|
||||
;;
|
||||
*)
|
||||
check
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user