Skip to content

Commit

Permalink
Also run bin tests under windows now that that works
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Aug 2, 2024
1 parent 5547d8f commit 4055b97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fn main() -> Result<()> {
let path = Path::new(file!()).parent().unwrap();
let root_dir = path.join("integrations");
let mut config = Config {
bless_command: Some("cargo test".to_string()),
bless_command: Some("cargo test -- -- --bless".to_string()),
..Config::cargo(root_dir.clone())
};

Expand Down Expand Up @@ -113,10 +113,6 @@ fn main() -> Result<()> {
.to_str()
.unwrap()
.ends_with("-fail");
if cfg!(windows) && path.components().any(|c| c.as_os_str() == "basic-bin") {
// on windows there's also a .pdb file, so we get additional errors that aren't there on other platforms
return Some(false);
}
if !path.ends_with("Cargo.toml") {
return None;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/integrations/basic-bin/Cargo.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fini
Building dependencies ... ok
tests/actual_tests/foomp.rs ... ok

test result: ok. 1 passed;
test result: ok. 1 passed

0 comments on commit 4055b97

Please sign in to comment.