From d3eb06209b4095b55bae93a6b95e62c4788ab816 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 5 Dec 2018 18:49:23 -0500 Subject: [PATCH] Enable RUST_BACKTRACE=1 when running "cargo test". --- cranelift/test-all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cranelift/test-all.sh b/cranelift/test-all.sh index 8afe66eebd..ca6744ec1c 100755 --- a/cranelift/test-all.sh +++ b/cranelift/test-all.sh @@ -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"