We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aca4ba commit 86861f3Copy full SHA for 86861f3
src/tools/compiletest/src/runtest.rs
@@ -763,7 +763,9 @@ impl<'test> TestCx<'test> {
763
unexpected.len(),
764
not_found.len()
765
));
766
- println!("status: {}\ncommand: {}\n", proc_res.status, proc_res.cmdline);
+ if env::var("COMPILETEST_DEBUG_INFO").is_ok() {
767
+ println!("status: {}\ncommand: {}\n", proc_res.status, proc_res.cmdline);
768
+ }
769
if !unexpected.is_empty() {
770
println!("{}", "--- unexpected errors (from JSON output) ---".green());
771
for error in &unexpected {
@@ -2696,6 +2698,9 @@ impl ProcRes {
2696
2698
)
2697
2699
}
2700
2701
+ if env::var("COMPILETEST_DEBUG_INFO").is_err() {
2702
+ return;
2703
2704
2705
println!(
2706
"status: {}\ncommand: {}\n{}\n{}\n",
0 commit comments