about summary refs log tree commit diff
path: root/src/libtest/formatters
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-825/+0
2020-03-07Use writeln!(fmt, "word") instead of write!(fmt, "word\n") ↵Matthias Krüger-1/+1
(clippy::write_with_newline)
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-1/+1
2019-12-22Format the worldMark Rousskov-64/+38
2019-10-17Improve code styleIgor Aleksanov-2/+5
2019-10-17Make enum usage explicit and fix testsIgor Aleksanov-28/+74
2019-10-17Extract ConsoleTestStateIgor Aleksanov-4/+8
2019-10-17Split libtest into several smaller modulesIgor Aleksanov-10/+10
2019-10-09Make interface of the feature more convenientIgor Aleksanov-1/+1
2019-09-29Enhance report-time optionIgor Aleksanov-51/+94
2019-09-28Spawn one subprocess per unit test when panic=abortTyler Mandry-0/+9
2019-09-21libtest: Add --report-time flag to print test execution timeJakob Schikowski-18/+45
2019-07-12libtest: support display_output in JSON formatterPaul Emmerich-33/+55
2019-04-07Revert "Auto merge of #57842 - gnzlbg:extract_libtest, r=gnzlbg"Jacob Greenfield-0/+697
This reverts commit 3eb4890dfe6db0279fdd3cda19f9643873ae3db9, reversing changes made to 7a4df3b53da369110984a2b57419c05a53e33b38.
2019-03-19Move libtest out of rust-lang/rustgnzlbg-697/+0
2019-02-04Transition libtest to 2018 editionHirokazu Hata-1/+1
2018-12-25Remove licensesMark Rousskov-40/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-08-31Make json test output formatter represent "filtered_out" as numCharlie Andrews-1/+1
2018-08-31Make json test output formatter represent "test_count" as numCharlie Andrews-1/+1
2018-08-26Rollup merge of #53428 - RalfJung:libtest-terse, r=KodrAusGuillaume Gomez-1/+5
libtest terse format: show how far in we are So for example `./x.py test src/libcore` looks like ``` running 881 tests .................................................................................................... 100/881 .................................................................................................... 200/881 .................................................................................................... 300/881 .............................................................i.i.................................... 400/881 .................................................................................................... 500/881 .................................................................................................... 600/881 .................................................................................................... 700/881 .................................................................................................... 800/881 ................................................................................. test result: ok. 879 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out ``` When I am waiting for 3500 ui tests to complete, I am often missing some sense of how far in these 3500 it is. Getting the total count in `write_run_start` is a bit hacky; I did that to not change the "public interface" of the formatters. I can also give them an extra argument in their constructor so that they know from the beginning how many tests there will be. Would you prefer that? (I think I would, but I wanted to get feedback first.)
2018-08-23use String::new() instead of String::from(""), "".to_string(), "".to_owned() ↵Matthias Krüger-1/+1
or "".into()
2018-08-20commentRalf Jung-1/+1
2018-08-16libtest terse format: show how far in we areRalf Jung-1/+5
2018-05-02Remove leftover tab in libtest outputsPhilipp Hansch-4/+4
Closes #50362
2018-03-21Cargo fmt libtestSeiichi Uchida-44/+23
2018-01-26libtest: Split-up formatters.rs into smaller modulesGilad Naaman-0/+754
libtest: Split HumanFormatter into {Pretty,Terse} libtest: Fixed padding of benchmarks when not benchmarking libtest: Fixed benchmarks' names not showing in terse-mode libtest: Formatting