mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Fix collision doc tests randomly failing.
This commit is contained in:
parent
e9e09077a1
commit
5003d53c79
@ -146,7 +146,7 @@ fn collision_doc() {
|
|||||||
.file("foo2/src/lib.rs", "")
|
.file("foo2/src/lib.rs", "")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
p.cargo("doc")
|
p.cargo("doc -j=1")
|
||||||
.with_stderr_contains(
|
.with_stderr_contains(
|
||||||
"\
|
"\
|
||||||
[WARNING] output filename collision.
|
[WARNING] output filename collision.
|
||||||
@ -407,7 +407,7 @@ fn collision_doc_sources() {
|
|||||||
.file("bar/src/lib.rs", "")
|
.file("bar/src/lib.rs", "")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
p.cargo("doc")
|
p.cargo("doc -j=1")
|
||||||
.with_stderr_unordered(
|
.with_stderr_unordered(
|
||||||
"\
|
"\
|
||||||
[UPDATING] [..]
|
[UPDATING] [..]
|
||||||
@ -524,7 +524,7 @@ fn collision_with_root() {
|
|||||||
.file("foo-macro/src/lib.rs", "")
|
.file("foo-macro/src/lib.rs", "")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
p.cargo("doc")
|
p.cargo("doc -j=1")
|
||||||
.with_stderr_unordered("\
|
.with_stderr_unordered("\
|
||||||
[UPDATING] [..]
|
[UPDATING] [..]
|
||||||
[DOWNLOADING] crates ...
|
[DOWNLOADING] crates ...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user