about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-11-04 02:44:54 +0800
committerkennytm <kennytm@gmail.com>2017-11-06 03:53:39 +0800
commita4e5c91cb823526765574c6d18ea6b13f1cb7dab (patch)
tree6a89fc7a53fdb63376964970cddf9ea6be0a6238 /src/test/incremental/thinlto
parent666687a68cb9c42bf5eadcb2e5e447d7de5190d5 (diff)
downloadrust-a4e5c91cb823526765574c6d18ea6b13f1cb7dab.tar.gz
rust-a4e5c91cb823526765574c6d18ea6b13f1cb7dab.zip
libtest: Force a newline every 100 dots when testing in quiet mode.
Rationale:

We use --quiet mode when testing a PR in the CI. Also, we use `stamp` to
prefix every line with a timestamp. Previously, when testing in --quiet
mode, we will only print a dot for each test without any line breaks.
Combined with `stamp`, this means we'd need to wait for all tests to
complete before writing the output. On Travis CI, if we don't print
anything within 30 minutes, the job will be forcefully canceled. This
makes it very easy to spuriously-timeout when testing non-default images
like arm-android using the CI. This commit tries to workaround the issue
by printing a new line every 100 dots, forcing `stamp` to emit something
to reset Travis's countdown.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions