about summary refs log tree commit diff
path: root/src/libtest/tests.rs
AgeCommit message (Collapse)AuthorLines
2019-10-09Resolve divergency with masterIgor Aleksanov-1/+1
2019-09-29Enhance report-time optionIgor Aleksanov-5/+120
2019-09-28Spawn one subprocess per unit test when panic=abortTyler Mandry-8/+8
2019-09-26Include message on tests that should panicKenny Goodin-2/+2
2019-09-21libtest: Add --report-time flag to print test execution timeJakob Schikowski-6/+40
2019-08-27Rollup merge of #62600 - emmericp:libtest-add-show-output, r=gnzlbgMazdak Farrokhzad-0/+11
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-02Remove some more `cfg(test)`sVadim Petrochenkov-0/+21
2019-08-02libtest: Unconfigure tests during normal buildVadim Petrochenkov-3/+46
2019-07-11libtest: add --show-output optionPaul Emmerich-0/+11
this new flag enables printing the captured stdout of successful tests utilizing the already existing display_output test runner option
2019-06-16Separate libtest modulechansuke-0/+453