Skip to content

Commit 4f75d67

Browse files
committed
Make ui_test backtraces short by default
1 parent fe18afe commit 4f75d67

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tools/compiletest/src/header.rs

+4-1
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![("RUSTC_LOG_COLOR".to_string())],
270273
exec_env: vec![],
271274
unset_exec_env: vec![],

0 commit comments

Comments
 (0)