X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibtest%2Fcli.rs;h=edff8bea0f3d0b036896cb70e829e00495f262bd;hb=3d8778d767f0dde6fe2bc9459f21ead8e124d8cb;hp=ea6d632f48a59df627b6665705e598d253ec130d;hpb=ac8acd856e6f376183a4a6ed2bc9bb0fd6f63b32;p=rust.git 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",