Rollup merge of #68097 - MikailBag:master, r=shepmaster

Specify units for test timeout environment variables

I think it is not obvious (I got it from reading libtest sources), so it is worth mentioning in docs.
This commit is contained in:
Yuki Okushi 2020-01-13 16:44:17 +09:00 committed by GitHub
commit 7d3fa29633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,6 +125,8 @@ fn optgroups() -> getopts::Options {
`RUST_TEST_TIME_DOCTEST` environment variables.
Expected format of environment variable is `VARIABLE=WARN_TIME,CRITICAL_TIME`.
Durations must be specified in milliseconds, e.g. `500,2000` means that the warn time
is 0.5 seconds, and the critical time is 2 seconds.
Not available for --format=terse",
"plain|colored",