]> git.lizzy.rs Git - rust.git/commit
Auto merge of #38185 - jsgf:test-list, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 15 Dec 2016 09:26:25 +0000 (09:26 +0000)
committerbors <bors@rust-lang.org>
Thu, 15 Dec 2016 09:26:25 +0000 (09:26 +0000)
commit833b03ad52f1d5381d65ad866ab79cb9a68b0e7f
tree339dd376f8909180c08c771fdd9faffba4b34328
parentcfa668f3bf8156730b419deec51fb980af23b8bb
parent516d105c0b1c2cbe8a9cd8de6c12236c913b99a3
Auto merge of #38185 - jsgf:test-list, r=alexcrichton

libtest: add --list option to list tests and benchmarks

This option lists all the tests and benchmarks a binary provides without running any of them.
By default the listing is sent to stdout (intended for human consumption), but if `--logfile` is also specified, it is also written there in an easily parsable form.

If filters are specified, they're applied before the output is emitted. The human output will also include a summary unless `-q` is specified.