slightly simplify integration tests

This commit is contained in:
Matthias Krüger 2018-10-26 20:00:49 +02:00
parent d6ca12a70d
commit a90084d587
2 changed files with 1 additions and 5 deletions

View File

@ -29,12 +29,11 @@ CLIPPY="`pwd`/target/debug/cargo-clippy clippy"
# run clippy on its own codebase... # run clippy on its own codebase...
${CLIPPY} --all-targets --all-features -- -D clippy::all -D clippy::internal ${CLIPPY} --all-targets --all-features -- -D clippy::all -D clippy::internal
# ... and some test directories # ... 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 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 do
cd ${dir} cd ${dir}
${CLIPPY} -- -D clippy::all ${CLIPPY} -- -D clippy::all
cd ${CWD_OLD} cd -
done done

View File

@ -28,9 +28,6 @@ function check() {
} }
case ${INTEGRATION} in case ${INTEGRATION} in
rust-lang/cargo)
check
;;
*) *)
check check
;; ;;