mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +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...
|
# 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
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,9 +28,6 @@ function check() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case ${INTEGRATION} in
|
case ${INTEGRATION} in
|
||||||
rust-lang/cargo)
|
|
||||||
check
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
check
|
check
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user