]> git.lizzy.rs Git - rust.git/commitdiff
Remove format checks from CI script
authorMichael Wright <mikerite@lavabit.com>
Wed, 3 Jul 2019 05:35:55 +0000 (07:35 +0200)
committerflip1995 <hello@philkrones.com>
Sun, 7 Jul 2019 13:11:37 +0000 (15:11 +0200)
ci/base-tests.sh

index d67541f7df05c44aadd20c2cdab59afbc017e80f..125cc898a219a65a6dda45200aaa3f8cbb1dfe17 100755 (executable)
@@ -24,7 +24,6 @@ export CARGO_TARGET_DIR=`pwd`/target/
 # Perform various checks for lint registration
 ./util/dev update_lints --check
 ./util/dev --limit-stderr-length
-cargo +nightly fmt --all -- --check
 
 # Check running clippy-driver without cargo
 (
@@ -60,16 +59,6 @@ rustup override set nightly
 # avoid loop spam and allow cmds with exit status != 0
 set +ex
 
-# Excluding `ice-3891.rs` because the code triggers a rustc parse error which
-# makes rustfmt fail.
-for file in `find tests -not -path "tests/ui/crashes/ice-3891.rs" | grep "\.rs$"` ; do
-  rustfmt ${file} --check
-  if [ $? -ne 0 ]; then
-    echo "${file} needs reformatting!"
-    tests_need_reformatting="true"
-  fi
-done
-
 set -ex # reset
 
 if [ "${tests_need_reformatting}" == "true" ] ; then