Skip to content

Commit

Permalink
Only testing on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Jun 22, 2021
1 parent cb1a3f0 commit b3a1d0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/testsuite/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ fn cargo_compile_without_manifest() {
}

#[cargo_test]
#[cfg(not(target_os = "macos"))]
#[cfg(target_os = "linux")]
fn cargo_compile_with_lowercase_cargo_toml() {
let p = project()
.no_manifest()
Expand Down
4 changes: 2 additions & 2 deletions tests/testsuite/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ fn install_target_dir() {
}

#[cargo_test]
#[cfg(not(target_os = "macos"))]
#[cfg(target_os = "linux")]
fn install_path_with_lowercase_cargo_toml() {
let toml = paths::root().join("cargo.toml");
fs::write(toml, "").unwrap();
Expand Down Expand Up @@ -778,7 +778,7 @@ fn git_repo() {
}

#[cargo_test]
#[cfg(not(target_os = "macos"))]
#[cfg(target_os = "linux")]
fn git_repo_with_lowercase_cargo_toml() {
let p = git::repo(&paths::root().join("foo"))
.file("cargo.toml", &basic_manifest("foo", "0.1.0"))
Expand Down

0 comments on commit b3a1d0c

Please sign in to comment.