rust/src/libtest
Mazdak Farrokhzad 6d20265a9e
Rollup merge of #62600 - emmericp:libtest-add-show-output, r=gnzlbg
libtest: add --show-output flag to print stdout of successful tests

This pull request adds a new flag `--show-output` for tests to show the output of successful tests. For most formatters this was already supported just not exposed via the CLI (apparently only used by `librustdoc`). I've also added support for this option in the JSON formatter.

This kind of fixes https://github.com/rust-lang/rust/issues/54669 which wants `--format json` to work with `--nocapture`, which is... well, impossible. What this issue really calls for is `--show-output` as implemented here.
2019-08-27 08:17:48 +02:00
..
formatters libtest: support display_output in JSON formatter 2019-07-12 01:56:43 +02:00
stats libtest: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
Cargo.toml bootstrap: Merge the libtest build step with libstd 2019-08-23 16:46:11 -07:00
lib.rs Rollup merge of #62600 - emmericp:libtest-add-show-output, r=gnzlbg 2019-08-27 08:17:48 +02:00
stats.rs libtest: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
tests.rs Rollup merge of #62600 - emmericp:libtest-add-show-output, r=gnzlbg 2019-08-27 08:17:48 +02:00