Skip to content

Commit 65a31e7

Browse files
committed
fix(lexarg): Remove elapsed time enforcement from help
1 parent b5bdcab commit 65a31e7

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

  • crates/libtest-lexarg/src

crates/libtest-lexarg/src/lib.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -129,28 +129,6 @@ Options:
129129
--show-output Show captured stdout of successful tests
130130
-Z unstable-options Enable nightly-only flags:
131131
unstable-options = Allow use of experimental features
132-
--report-time Show execution time of each test.
133-
Threshold values for colorized output can be
134-
configured via
135-
`RUST_TEST_TIME_UNIT`, `RUST_TEST_TIME_INTEGRATION`
136-
and
137-
`RUST_TEST_TIME_DOCTEST` environment variables.
138-
Expected format of environment variable is
139-
`VARIABLE=WARN_TIME,CRITICAL_TIME`.
140-
Durations must be specified in milliseconds, e.g.
141-
`500,2000` means that the warn time
142-
is 0.5 seconds, and the critical time is 2 seconds.
143-
Not available for --format=terse
144-
--ensure-time Treat excess of the test execution time limit as
145-
error.
146-
Threshold values for this option can be configured via
147-
`RUST_TEST_TIME_UNIT`, `RUST_TEST_TIME_INTEGRATION`
148-
and
149-
`RUST_TEST_TIME_DOCTEST` environment variables.
150-
Expected format of environment variable is
151-
`VARIABLE=WARN_TIME,CRITICAL_TIME`.
152-
`CRITICAL_TIME` here means the limit that should not
153-
be exceeded by test.
154132
"#;
155133

156134
pub const AFTER_HELP: &str = r#"

0 commit comments

Comments
 (0)