Skip to content

Commit 9533062

Browse files
committed
Fix sporadic lto test failures.
1 parent 0d79ba6 commit 9533062

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/testsuite/lto.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,8 @@ fn test_profile() {
617617
.build();
618618

619619
p.cargo("test -v")
620-
.with_stderr("\
620+
// unordered because the two `foo` builds start in parallel
621+
.with_stderr_unordered("\
621622
[UPDATING] [..]
622623
[DOWNLOADING] [..]
623624
[DOWNLOADED] [..]
@@ -669,7 +670,8 @@ fn dev_profile() {
669670
.build();
670671

671672
p.cargo("test -v")
672-
.with_stderr("\
673+
// unordered because the two `foo` builds start in parallel
674+
.with_stderr_unordered("\
673675
[UPDATING] [..]
674676
[DOWNLOADING] [..]
675677
[DOWNLOADED] [..]

0 commit comments

Comments
 (0)