diff options
| author | Gilad Naaman <gilad.naaman@gmail.com> | 2017-11-10 14:00:55 +0200 |
|---|---|---|
| committer | Gilad Naaman <gilad.naaman@gmail.com> | 2018-01-26 19:46:04 +0200 |
| commit | 588a6a35be4446fbaaa792d08efee51e04e61fe8 (patch) | |
| tree | 2fc5aa944563ef37440c0ce688a2f2e3d6e38283 /src/tools | |
| parent | d24f9af31c4e96e5158677408b513d3e33be7357 (diff) | |
| download | rust-588a6a35be4446fbaaa792d08efee51e04e61fe8.tar.gz rust-588a6a35be4446fbaaa792d08efee51e04e61fe8.zip | |
Added JSON output to libtest.
libtest: Json format now outputs failed tests' stdouts. libtest: Json format now outputs failed tests' stdouts. libtest: Json formatter now spews individiual events, not as an array libtest: JSON fixes libtest: Better JSON escaping libtest: Test start event is printed on time
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/compiletest/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs index 533aaf9cd27..1c52ebd7dc5 100644 --- a/src/tools/compiletest/src/main.rs +++ b/src/tools/compiletest/src/main.rs @@ -485,7 +485,7 @@ pub fn test_opts(config: &Config) -> test::TestOpts { filter: config.filter.clone(), filter_exact: config.filter_exact, run_ignored: config.run_ignored, - quiet: config.quiet, + format: if config.quiet { test::OutputFormat::Terse } else { test::OutputFormat::Pretty }, logfile: config.logfile.clone(), run_tests: true, bench_benchmarks: true, |
