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 {
262262 // Unstable flags
263263 let force_run_in_process = unstable_optflag ! ( matches, allow_unstable, "force-run-in-process" ) ;
264264 let exclude_should_panic = unstable_optflag ! ( matches, allow_unstable, "exclude-should-panic" ) ;
265+ let fail_fast = unstable_optflag ! ( matches, allow_unstable, "fail-fast" ) ;
265266 let time_options = get_time_options ( & matches, allow_unstable) ?;
266267 let shuffle = get_shuffle ( & matches, allow_unstable) ?;
267268 let shuffle_seed = get_shuffle_seed ( & matches, allow_unstable) ?;
@@ -271,7 +272,6 @@ fn parse_opts_impl(matches: getopts::Matches) -> OptRes {
271272 let exact = matches. opt_present ( "exact" ) ;
272273 let list = matches. opt_present ( "list" ) ;
273274 let skip = matches. opt_strs ( "skip" ) ;
274- let fail_fast = matches. opt_present ( "fail-fast" ) ;
275275
276276 let bench_benchmarks = matches. opt_present ( "bench" ) ;
277277 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.
168168Note that when running tests in parallel, the test execution order is non-deterministic:
169169if multiple tests would fail, the first failure encountered will be reported.
170170
171+ ⚠️ 🚧 This requires the ` -Z unstable-options ` flag.
172+
171173#### ` --test-threads ` _ NUM_THREADS_
172174
173175Sets 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