File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Options:
56
56
--no-run Compile, but don't run tests
57
57
-p SPEC, --package SPEC ... Package to run tests for
58
58
--all Test all packages in the workspace
59
- -j N, --jobs N Number of parallel jobs, defaults to # of CPUs
59
+ -j N, --jobs N Number of parallel builds, see below for details
60
60
--release Build artifacts in release mode, with optimizations
61
61
--features FEATURES Space-separated list of features to also build
62
62
--all-features Build all available features
@@ -86,7 +86,12 @@ All packages in the workspace are tested if the `--all` flag is supplied. The
86
86
`--all` flag may be supplied in the presence of a virtual manifest.
87
87
88
88
The --jobs argument affects the building of the test executable but does
89
- not affect how many jobs are used when running the tests.
89
+ not affect how many jobs are used when running the tests. The default value
90
+ for the --jobs argument is the number of CPUs. If you want to control the
91
+ number of simultaneous running test cases, pass the `--test-threads` option
92
+ to the test binaries:
93
+
94
+ cargo test -- --test-threads=1
90
95
91
96
Compilation can be configured via the `test` profile in the manifest.
92
97
You can’t perform that action at this time.
0 commit comments