Skip to content

Commit 7d3fa29

Browse files
authored
Rollup merge of rust-lang#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.
2 parents bc031e3 + 91e9531 commit 7d3fa29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libtest/cli.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ fn optgroups() -> getopts::Options {
125125
`RUST_TEST_TIME_DOCTEST` environment variables.
126126
127127
Expected format of environment variable is `VARIABLE=WARN_TIME,CRITICAL_TIME`.
128+
Durations must be specified in milliseconds, e.g. `500,2000` means that the warn time
129+
is 0.5 seconds, and the critical time is 2 seconds.
128130
129131
Not available for --format=terse",
130132
"plain|colored",

0 commit comments

Comments
 (0)