Enable RUST_BACKTRACE=1 when running "cargo test".
This commit is contained in:
@@ -64,7 +64,7 @@ cargo build
|
|||||||
|
|
||||||
# Run the tests. We run these in debug mode so that assertions are enabled.
|
# Run the tests. We run these in debug mode so that assertions are enabled.
|
||||||
banner "Rust unit tests"
|
banner "Rust unit tests"
|
||||||
cargo test --all
|
RUST_BACKTRACE=1 cargo test --all
|
||||||
|
|
||||||
# Make sure the documentation builds.
|
# Make sure the documentation builds.
|
||||||
banner "Rust documentation: $topdir/target/doc/cranelift/index.html"
|
banner "Rust documentation: $topdir/target/doc/cranelift/index.html"
|
||||||
|
|||||||
Reference in New Issue
Block a user