Only testing on linux

This commit is contained in:
hi-rustin 2021-06-22 15:36:32 +08:00
parent cb1a3f05f0
commit b3a1d0ceba
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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();
@ -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"))