@@ -46,10 +46,10 @@ echo "Testing $PACKAGE with default features..."
4646for feature in $features ; do
4747 if [[ -n " $REQUIRED_FEATURES " ]]; then
4848 echo " Testing $PACKAGE with feature: $REQUIRED_FEATURES ,$feature "
49- (set -x; cargo clippy -p " $PACKAGE " --all-targets --no-default-features --features " $REQUIRED_FEATURES ,$feature " --profile=" $PROFILE " -- -D warnings || echo " Feature $feature failed for $PACKAGE " )
49+ (set -x; cargo clippy -p " $PACKAGE " --all-targets --no-default-features --features " $REQUIRED_FEATURES ,$feature " --profile=" $PROFILE " -- -D warnings)
5050 else
5151 echo " Testing $PACKAGE with feature: $feature "
52- (set -x; cargo clippy -p " $PACKAGE " --all-targets --no-default-features --features " $feature " --profile=" $PROFILE " -- -D warnings || echo " Feature $feature failed for $PACKAGE " )
52+ (set -x; cargo clippy -p " $PACKAGE " --all-targets --no-default-features --features " $feature " --profile=" $PROFILE " -- -D warnings)
5353 fi
5454done
5555
@@ -58,9 +58,9 @@ if [[ -n "$features" ]]; then
5858 all_features=$( echo $features | tr ' \n' ' ,' | sed ' s/,$//' )
5959 if [[ -n " $REQUIRED_FEATURES " ]]; then
6060 echo " Testing $PACKAGE with all features: $REQUIRED_FEATURES ,$all_features "
61- (set -x; cargo clippy -p " $PACKAGE " --all-targets --no-default-features --features " $REQUIRED_FEATURES ,$all_features " --profile=" $PROFILE " -- -D warnings || echo " All features failed for $PACKAGE " )
61+ (set -x; cargo clippy -p " $PACKAGE " --all-targets --no-default-features --features " $REQUIRED_FEATURES ,$all_features " --profile=" $PROFILE " -- -D warnings)
6262 else
6363 echo " Testing $PACKAGE with all features: $all_features "
64- (set -x; cargo clippy -p " $PACKAGE " --all-targets --no-default-features --features " $all_features " --profile=" $PROFILE " -- -D warnings || echo " All features failed for $PACKAGE " )
64+ (set -x; cargo clippy -p " $PACKAGE " --all-targets --no-default-features --features " $all_features " --profile=" $PROFILE " -- -D warnings)
6565 fi
6666fi
0 commit comments