Skip to content

Commit

Permalink
Fix windows failure on collision_dylib.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Nov 14, 2018
1 parent a10eb01 commit 69c6363
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testsuite/collisions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ fn collision_dylib() {
.file("b/src/lib.rs", "")
.build();

p.cargo("build")
// j=1 is required because on windows you'll get an error because
// two processes will be writing to the file at the same time.
p.cargo("build -j=1")
.with_stderr_contains(&format!("\
[WARNING] output filename collision.
The lib target `a` in package `b v1.0.0 ([..]/foo/b)` has the same output filename as the lib target `a` in package `a v1.0.0 ([..]/foo/a)`.
Expand Down

0 comments on commit 69c6363

Please sign in to comment.