Skip to content

Commit 336e45e

Browse files
authored
Rollup merge of #146574 - Zalathar:capture, r=jieyouxu
compiletest: Enable new-output-capture by default The new output-capture implementation was added in #146119, but was disabled by default and required opt-in. Since then, I haven't encountered any problems in my own testing/usage, and I haven't heard any problem reports from other contributors who might have opted in. It's unlikely that more opt-in testing will help, so the next step is to enable new-output-capture by default and see if anyone complains. (Hopefully nobody!) If needed, the new default can be overridden (for now) by setting environment variable `COMPILETEST_NEW_OUTPUT_CAPTURE=off`. Please file an issue (or let me know) if anyone finds a reason to do this. r? jieyouxu
2 parents 9eaf3c8 + 96f8dbe commit 336e45e

File tree

1 file changed

+1
-1
lines changed
  • src/tools/compiletest/src

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
484484
let value = matches
485485
.opt_str("new-output-capture")
486486
.or_else(|| env::var("COMPILETEST_NEW_OUTPUT_CAPTURE").ok())
487-
.unwrap_or_else(|| "off".to_owned());
487+
.unwrap_or_else(|| "on".to_owned());
488488
parse_bool_option(&value)
489489
.unwrap_or_else(|| panic!("unknown `--new-output-capture` value `{value}` given"))
490490
},

0 commit comments

Comments
 (0)