Skip to content

Commit a90084d

Browse files
committed
slightly simplify integration tests
1 parent d6ca12a commit a90084d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

ci/base-tests.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ CLIPPY="`pwd`/target/debug/cargo-clippy clippy"
2929
# run clippy on its own codebase...
3030
${CLIPPY} --all-targets --all-features -- -D clippy::all -D clippy::internal
3131
# ... and some test directories
32-
CWD_OLD=`pwd`
3332
for dir in clippy_workspace_tests clippy_workspace_tests/src clippy_workspace_tests/subcrate clippy_workspace_tests/subcrate/src clippy_dev rustc_tools_util
3433
do
3534
cd ${dir}
3635
${CLIPPY} -- -D clippy::all
37-
cd ${CWD_OLD}
36+
cd -
3837
done
3938

4039

ci/integration-tests.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ function check() {
2828
}
2929

3030
case ${INTEGRATION} in
31-
rust-lang/cargo)
32-
check
33-
;;
3431
*)
3532
check
3633
;;

0 commit comments

Comments
 (0)