We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6fdb4a commit 919c897Copy full SHA for 919c897
tests/testsuite/multitarget.rs
@@ -65,20 +65,24 @@ fn simple_test() {
65
.file("src/lib.rs", "fn main() {}")
66
.build();
67
68
- p.cargo("test")
69
- .arg("--target")
70
- .arg(&t1)
71
72
- .arg(&t2)
73
- .with_stderr_data(
74
- str![[r#"
+ let expected = if cfg!(target_os = "windows") {
+ str![].unordered()
+ } else {
+ str![[r#"
75
[RUNNING] unittests src/lib.rs (target/[ALT_TARGET]/debug/deps/foo-[HASH])
76
[RUNNING] unittests src/lib.rs (target/[HOST_TARGET]/debug/deps/foo-[HASH])
77
...
78
79
"#]]
80
- .unordered(),
81
- )
+ .unordered()
+ };
+
+ p.cargo("test")
+ .arg("--target")
82
+ .arg(&t1)
83
84
+ .arg(&t2)
85
+ .with_stderr_data(expected)
86
.run();
87
}
88
0 commit comments