Rebuild generated man pages.

This commit is contained in:
Eric Huss 2020-07-28 11:18:02 -07:00
parent e996422d3a
commit c666342aca
2 changed files with 36 additions and 6 deletions

View File

@ -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&#8217;re passing built in unit-test and micro-benchmarking framework). If you&#8217;re passing
arguments to both Cargo and the binary, the ones after <code>--</code> go to the binary, 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&#8217;s arguments see the the ones before go to Cargo. For details about libtest&#8217;s arguments see the
output of <code>cargo test -- --help</code>. As an example, this will run all tests with output of <code>cargo test -- --help</code>.</p>
<code>foo</code> in their name on 3 threads in parallel:</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>
<div class="literalblock"> <div class="literalblock">
<div class="content"> <div class="content">
@ -581,6 +584,14 @@ details on environment variables that Cargo reads.</p>
</div> </div>
</li> </li>
<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> <p>Run only a specific test within a specific integration test:</p>
<div class="literalblock"> <div class="literalblock">
<div class="content"> <div class="content">

View File

@ -2,12 +2,12 @@
.\" Title: cargo-test .\" Title: cargo-test
.\" Author: [see the "AUTHOR(S)" section] .\" Author: [see the "AUTHOR(S)" section]
.\" Generator: Asciidoctor 2.0.10 .\" Generator: Asciidoctor 2.0.10
.\" Date: 2020-06-25 .\" Date: 2020-07-28
.\" Manual: \ \& .\" Manual: \ \&
.\" Source: \ \& .\" Source: \ \&
.\" Language: English .\" Language: English
.\" .\"
.TH "CARGO\-TEST" "1" "2020-06-25" "\ \&" "\ \&" .TH "CARGO\-TEST" "1" "2020-07-28" "\ \&" "\ \&"
.ie \n(.g .ds Aq \(aq .ie \n(.g .ds Aq \(aq
.el .ds Aq ' .el .ds Aq '
.ss \n[.ss] 0 .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 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, 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 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 output of \fBcargo test \-\- \-\-help\fP.
\fBfoo\fP in their name on 3 threads in parallel: .sp
As an example, this will filter for tests with \fBfoo\fP in their name and run them
on 3 threads in parallel:
.sp .sp
.if n .RS 4 .if n .RS 4
.nf .nf
@ -678,6 +680,23 @@ cargo test
. sp -1 . sp -1
. IP " 2." 4.2 . 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: Run only a specific test within a specific integration test:
.sp .sp
.if n .RS 4 .if n .RS 4