Skip to content

Commit 4055b97

Browse files
committed
Also run bin tests under windows now that that works
1 parent 5547d8f commit 4055b97

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/integration.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ fn main() -> Result<()> {
66
let path = Path::new(file!()).parent().unwrap();
77
let root_dir = path.join("integrations");
88
let mut config = Config {
9-
bless_command: Some("cargo test".to_string()),
9+
bless_command: Some("cargo test -- -- --bless".to_string()),
1010
..Config::cargo(root_dir.clone())
1111
};
1212

@@ -113,10 +113,6 @@ fn main() -> Result<()> {
113113
.to_str()
114114
.unwrap()
115115
.ends_with("-fail");
116-
if cfg!(windows) && path.components().any(|c| c.as_os_str() == "basic-bin") {
117-
// on windows there's also a .pdb file, so we get additional errors that aren't there on other platforms
118-
return Some(false);
119-
}
120116
if !path.ends_with("Cargo.toml") {
121117
return None;
122118
}

tests/integrations/basic-bin/Cargo.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fini
66
Building dependencies ... ok
77
tests/actual_tests/foomp.rs ... ok
88

9-
test result: ok. 1 passed;
9+
test result: ok. 1 passed
1010

0 commit comments

Comments
 (0)