forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
At test runs, write to logfile in the same format as to stdout.
Example of affected command: ``` cargo test -- --logfile=/tmp/1.log ``` Old format: ``` ok whatever ``` New format: ``` running 1 test test whatever ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s ``` Rationale for the behavior change: * The code becomes easier to maintain: we reuse the same code to generate output into stdout and into log file * Fix user confusion, as they currently see different formats in stdout and in log file.
- Loading branch information
1 parent
1c78c9c
commit 346b807
Showing
2 changed files
with
18 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters