diff options
| author | Jeremy Fitzhardinge <jsgf@fb.com> | 2016-12-05 14:54:28 -0800 |
|---|---|---|
| committer | Jeremy Fitzhardinge <jsgf@fb.com> | 2016-12-14 10:15:36 -0800 |
| commit | 516d105c0b1c2cbe8a9cd8de6c12236c913b99a3 (patch) | |
| tree | 1695da76296e8f65319de764b8dd210779f88fd4 /src/tools | |
| parent | 4cda3b6a653bcbdc820d135a9e80c4bcba1dbc04 (diff) | |
libtest: add --list option to list tests and benchmarks
This option lists all the tests and benchmarks a binary provides. By default the listing is sent to stdout, but if --logfile is also specified, it is written there. If filters are specified, they're applied before the output is emitted.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/compiletest/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs index cbdf75eda26..e4d9836c562 100644 --- a/src/tools/compiletest/src/main.rs +++ b/src/tools/compiletest/src/main.rs @@ -325,6 +325,7 @@ pub fn test_opts(config: &Config) -> test::TestOpts { color: test::AutoColor, test_threads: None, skip: vec![], + list: false, } } |
