Use optflag for --report-time

Essentially, what is described here:
https://github.com/rust-lang/rust/issues/64888#issuecomment-1008047228

There is one difference. The comment proposes to add a
`--report-time-color` option. This change instead uses libtest's
existing `--color` option for that purpose.
This commit is contained in:
Samuel E. Moelius III 2022-01-30 10:25:40 -05:00
parent a00e130dae
commit 96d96a7ac4
6 changed files with 9 additions and 22 deletions

View file

@ -267,7 +267,7 @@ Controls the format of the output. Valid options:
Writes the results of the tests to the given file.
#### `--report-time` _FORMAT_
#### `--report-time`
⚠️ 🚧 This option is [unstable](#unstable-options), and requires the `-Z
unstable-options` flag. See [tracking issue