File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ fn parse_opts_impl(matches: getopts::Matches) -> OptRes {
262
262
// Unstable flags
263
263
let force_run_in_process = unstable_optflag ! ( matches, allow_unstable, "force-run-in-process" ) ;
264
264
let exclude_should_panic = unstable_optflag ! ( matches, allow_unstable, "exclude-should-panic" ) ;
265
+ let fail_fast = unstable_optflag ! ( matches, allow_unstable, "fail-fast" ) ;
265
266
let time_options = get_time_options ( & matches, allow_unstable) ?;
266
267
let shuffle = get_shuffle ( & matches, allow_unstable) ?;
267
268
let shuffle_seed = get_shuffle_seed ( & matches, allow_unstable) ?;
@@ -271,7 +272,6 @@ fn parse_opts_impl(matches: getopts::Matches) -> OptRes {
271
272
let exact = matches. opt_present ( "exact" ) ;
272
273
let list = matches. opt_present ( "list" ) ;
273
274
let skip = matches. opt_strs ( "skip" ) ;
274
- let fail_fast = matches. opt_present ( "fail-fast" ) ;
275
275
276
276
let bench_benchmarks = matches. opt_present ( "bench" ) ;
277
277
let run_tests = !bench_benchmarks || matches. opt_present ( "test" ) ;
Original file line number Diff line number Diff line change @@ -168,6 +168,8 @@ other threads will be allowed to run to completion before the process exits.
168
168
Note that when running tests in parallel, the test execution order is non-deterministic:
169
169
if multiple tests would fail, the first failure encountered will be reported.
170
170
171
+ ⚠️ 🚧 This requires the ` -Z unstable-options ` flag.
172
+
171
173
#### ` --test-threads ` _ NUM_THREADS_
172
174
173
175
Sets the number of threads to use for running tests in parallel. By default,
You can’t perform that action at this time.
0 commit comments