Enable RUST_BACKTRACE=1 when running "cargo test".

This commit is contained in:
Dan Gohman
2018-12-05 18:49:23 -05:00
parent fc28923b6e
commit d3eb06209b

View File

@@ -64,7 +64,7 @@ cargo build
# Run the tests. We run these in debug mode so that assertions are enabled.
banner "Rust unit tests"
cargo test --all
RUST_BACKTRACE=1 cargo test --all
# Make sure the documentation builds.
banner "Rust documentation: $topdir/target/doc/cranelift/index.html"