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
This commit is contained in:
commit
a1c5c46986
@ -26,6 +26,10 @@ cargo fmt -- --version
|
||||
# * `cargo fmt --all -- --check` after formatting returns success
|
||||
# * `cargo test -all` still passes (formatting did not break the build)
|
||||
function check_fmt {
|
||||
cargo test --all
|
||||
if [[ $? != 0 ]]; then
|
||||
return 0
|
||||
fi
|
||||
touch rustfmt.toml
|
||||
cargo fmt --all -v |& tee rustfmt_output
|
||||
if [[ ${PIPESTATUS[0]} != 0 ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user