Skip to content

Commit 8be85d5

Browse files
committed
Make ui_test backtraces short by default
1 parent 1234cf4 commit 8be85d5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tools/compiletest/src/header.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,10 @@ impl TestProps {
265265
aux_bins: vec![],
266266
aux_crates: vec![],
267267
revisions: vec![],
268-
rustc_env: vec![("RUSTC_ICE".to_string(), "0".to_string())],
268+
rustc_env: vec![
269+
("RUSTC_ICE".to_string(), "0".to_string()),
270+
("RUST_BACKTRACE".to_string(), "short".to_string()),
271+
],
269272
unset_rustc_env: vec![],
270273
exec_env: vec![],
271274
unset_exec_env: vec![],

0 commit comments

Comments
 (0)