mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Rebuild generated man pages.
This commit is contained in:
parent
e996422d3a
commit
c666342aca
@ -22,8 +22,11 @@ dashes (<code>--</code>) are passed to the test binaries and thus to <em>libtest
|
||||
built in unit-test and micro-benchmarking framework). If you’re passing
|
||||
arguments to both Cargo and the binary, the ones after <code>--</code> go to the binary,
|
||||
the ones before go to Cargo. For details about libtest’s arguments see the
|
||||
output of <code>cargo test -- --help</code>. As an example, this will run all tests with
|
||||
<code>foo</code> in their name on 3 threads in parallel:</p>
|
||||
output of <code>cargo test -- --help</code>.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>As an example, this will filter for tests with <code>foo</code> in their name and run them
|
||||
on 3 threads in parallel:</p>
|
||||
</div>
|
||||
<div class="literalblock">
|
||||
<div class="content">
|
||||
@ -581,6 +584,14 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<p>Run only tests whose names match against a filter string:</p>
|
||||
<div class="literalblock">
|
||||
<div class="content">
|
||||
<pre>cargo test name_filter</pre>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<p>Run only a specific test within a specific integration test:</p>
|
||||
<div class="literalblock">
|
||||
<div class="content">
|
||||
|
@ -2,12 +2,12 @@
|
||||
.\" Title: cargo-test
|
||||
.\" Author: [see the "AUTHOR(S)" section]
|
||||
.\" Generator: Asciidoctor 2.0.10
|
||||
.\" Date: 2020-06-25
|
||||
.\" Date: 2020-07-28
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CARGO\-TEST" "1" "2020-06-25" "\ \&" "\ \&"
|
||||
.TH "CARGO\-TEST" "1" "2020-07-28" "\ \&" "\ \&"
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.ss \n[.ss] 0
|
||||
@ -41,8 +41,10 @@ dashes (\fB\-\-\fP) are passed to the test binaries and thus to \fIlibtest\fP (r
|
||||
built in unit\-test and micro\-benchmarking framework). If you\(cqre passing
|
||||
arguments to both Cargo and the binary, the ones after \fB\-\-\fP go to the binary,
|
||||
the ones before go to Cargo. For details about libtest\(cqs arguments see the
|
||||
output of \fBcargo test \-\- \-\-help\fP. As an example, this will run all tests with
|
||||
\fBfoo\fP in their name on 3 threads in parallel:
|
||||
output of \fBcargo test \-\- \-\-help\fP.
|
||||
.sp
|
||||
As an example, this will filter for tests with \fBfoo\fP in their name and run them
|
||||
on 3 threads in parallel:
|
||||
.sp
|
||||
.if n .RS 4
|
||||
.nf
|
||||
@ -678,6 +680,23 @@ cargo test
|
||||
. sp -1
|
||||
. IP " 2." 4.2
|
||||
.\}
|
||||
Run only tests whose names match against a filter string:
|
||||
.sp
|
||||
.if n .RS 4
|
||||
.nf
|
||||
cargo test name_filter
|
||||
.fi
|
||||
.if n .RE
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04' 3.\h'+01'\c
|
||||
.\}
|
||||
.el \{\
|
||||
. sp -1
|
||||
. IP " 3." 4.2
|
||||
.\}
|
||||
Run only a specific test within a specific integration test:
|
||||
.sp
|
||||
.if n .RS 4
|
||||
|
Loading…
x
Reference in New Issue
Block a user