Skip to content

Commit a1c5c46

Browse files
authored
Merge pull request #2793 from rust-lang-nursery/integr-test-fail
Don't fail integration tests if the subject is not passing its own tests
2 parents 75d46b1 + 46601a3 commit a1c5c46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/integration.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ cargo fmt -- --version
2626
# * `cargo fmt --all -- --check` after formatting returns success
2727
# * `cargo test -all` still passes (formatting did not break the build)
2828
function check_fmt {
29+
cargo test --all
30+
if [[ $? != 0 ]]; then
31+
return 0
32+
fi
2933
touch rustfmt.toml
3034
cargo fmt --all -v |& tee rustfmt_output
3135
if [[ ${PIPESTATUS[0]} != 0 ]]; then

0 commit comments

Comments
 (0)