about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-08-26 12:05:23 +0200
committerGitHub <noreply@github.com>2018-08-26 12:05:23 +0200
commite166e6131ae814086adf6ac6b5874d106d02ac3c (patch)
tree8d2485b520caec5b0bbf2173b97f5087ca716fec /src/test/incremental/thinlto
parent49944aea3f8baa8645380e3a0cde3d87e18289bf (diff)
parentffbb4078015ea0153e04991efa5565524cba0a8f (diff)
downloadrust-e166e6131ae814086adf6ac6b5874d106d02ac3c.tar.gz
rust-e166e6131ae814086adf6ac6b5874d106d02ac3c.zip
Rollup merge of #53428 - RalfJung:libtest-terse, r=KodrAus
libtest terse format: show how far in we are

So for example `./x.py test src/libcore` looks like
```
running 881 tests
.................................................................................................... 100/881
.................................................................................................... 200/881
.................................................................................................... 300/881
.............................................................i.i.................................... 400/881
.................................................................................................... 500/881
.................................................................................................... 600/881
.................................................................................................... 700/881
.................................................................................................... 800/881
.................................................................................
test result: ok. 879 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out
```
When I am waiting for 3500 ui tests to complete, I am often missing some sense of how far in these 3500 it is.

Getting the total count in `write_run_start` is a bit hacky; I did that to not change the "public interface" of the formatters. I can also give them an extra argument in their constructor so that they know from the beginning how many tests there will be. Would you prefer that? (I think I would, but I wanted to get feedback first.)
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions