diff options
| author | Mikail Bagishov <bagishov.mikail@yandex.ru> | 2020-01-10 19:26:40 +0300 |
|---|---|---|
| committer | Mikail Bagishov <bagishov.mikail@yandex.ru> | 2020-01-10 21:00:29 +0300 |
| commit | 91e9531ed1a70eab0c4f6a6bce304e2a731f54e7 (patch) | |
| tree | c27af8286081867286b5f342f1ba1d7c6e6da06e /src/libtest | |
| parent | f795e8a216b44982706d41e5cbfa245d13b83fc1 (diff) | |
| download | rust-91e9531ed1a70eab0c4f6a6bce304e2a731f54e7.tar.gz rust-91e9531ed1a70eab0c4f6a6bce304e2a731f54e7.zip | |
Clarify test timeout evironment variables
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/cli.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libtest/cli.rs b/src/libtest/cli.rs index ea6d632f48a..edff8bea0f3 100644 --- a/src/libtest/cli.rs +++ b/src/libtest/cli.rs @@ -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", |
