Skip to content

Commit 503474a

Browse files
Michael Wrightflip1995
authored andcommitted
Remove format checks from CI script
1 parent aeac3da commit 503474a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

ci/base-tests.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export CARGO_TARGET_DIR=`pwd`/target/
2424
# Perform various checks for lint registration
2525
./util/dev update_lints --check
2626
./util/dev --limit-stderr-length
27-
cargo +nightly fmt --all -- --check
2827

2928
# Check running clippy-driver without cargo
3029
(
@@ -60,16 +59,6 @@ rustup override set nightly
6059
# avoid loop spam and allow cmds with exit status != 0
6160
set +ex
6261

63-
# Excluding `ice-3891.rs` because the code triggers a rustc parse error which
64-
# makes rustfmt fail.
65-
for file in `find tests -not -path "tests/ui/crashes/ice-3891.rs" | grep "\.rs$"` ; do
66-
rustfmt ${file} --check
67-
if [ $? -ne 0 ]; then
68-
echo "${file} needs reformatting!"
69-
tests_need_reformatting="true"
70-
fi
71-
done
72-
7362
set -ex # reset
7463

7564
if [ "${tests_need_reformatting}" == "true" ] ; then

0 commit comments

Comments
 (0)