about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-03-15 12:58:49 -0700
committerbors <bors@rust-lang.org>2016-03-15 12:58:49 -0700
commit74dfc1ddd9d6a9f541bc526c3401b92bcd16bd2b (patch)
treed950290c3d93779e86005b4dcafa2194912a5aad /src/libstd/sys/unix/stack_overflow.rs
parent1efa752ea694f7ae125cdaf7911ad44b8e6b0e33 (diff)
parentd23fd711eb1af9ba505e239552fd691c32807a31 (diff)
downloadrust-74dfc1ddd9d6a9f541bc526c3401b92bcd16bd2b.tar.gz
rust-74dfc1ddd9d6a9f541bc526c3401b92bcd16bd2b.zip
Auto merge of #31887 - SimonSapin:quiet-test, r=alexcrichton
Shorter output for `rustc --test` binaries.

Until now, a program created with `rustc --test` prints at least one line per test. This can be very verbose, especially with [data-driven tests](https://internals.rust-lang.org/t/test-and-external-test-harnesses/3145) when hundreds or thousands of tests is not rare.

This changes the default output to one character per test (except metrics and benchmarks results which have additional data to show):

```
     Running target/debug/wpt-75c594dc1e6e6187

running 314 tests
..............................................................................
..............................................................................
..............................................................................
..............................................................................
..
test result: ok. 314 passed; 0 failed; 0 ignored; 0 measured
```

<s>The previous behavior is available by passing `--verbose` to the test program. Maybe `cargo test --verbose` could be changed to do that?</s> **Edit:** the default is now unchanged, `-q` or `--quiet` enables the new output.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions