From b3a1d0ceba1358263e26310346be8f87f2a68e87 Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Tue, 22 Jun 2021 15:36:32 +0800 Subject: [PATCH] Only testing on linux --- tests/testsuite/build.rs | 2 +- tests/testsuite/install.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testsuite/build.rs b/tests/testsuite/build.rs index 7cbc0c331..0948ac1da 100644 --- a/tests/testsuite/build.rs +++ b/tests/testsuite/build.rs @@ -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() diff --git a/tests/testsuite/install.rs b/tests/testsuite/install.rs index 6c0f2cbcd..dfb5f96f1 100644 --- a/tests/testsuite/install.rs +++ b/tests/testsuite/install.rs @@ -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"))