Skip to content

Commit

Permalink
Rollup merge of rust-lang#63002 - gilescope:better-build-diagnostics,…
Browse files Browse the repository at this point in the history
… r=Mark-Simulacrum

error_index_generator should output stdout/stderr when it panics.

**bootstrap change**

Call error_index_generator tool using run_quiet which will additionally print std out and std err of the command when it returns an error.
(was `run` uses `run_silent` under the covers.)

Why: PR rust-lang#62871 is hitting a build error but the panic isn't getting shown so its unclear what the problem is.
  • Loading branch information
Centril authored Jul 26, 2019
2 parents 571a965 + 9d796eb commit 8882e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ impl Step for ErrorIndex {

builder.info(&format!("Testing error-index stage{}", compiler.stage));
let _time = util::timeit(&builder);
builder.run(&mut tool);
builder.run_quiet(&mut tool);
markdown_test(builder, compiler, &output);
}
}
Expand Down

0 comments on commit 8882e42

Please sign in to comment.