From 577dc58c288960ba79e77270fa7d3981eb37f270 Mon Sep 17 00:00:00 2001 From: lena Date: Sat, 2 Sep 2023 09:43:15 +0200 Subject: [PATCH] make the tests work on linux --- src/tinyinst.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tinyinst.rs b/src/tinyinst.rs index 24f4ea0..cc21002 100644 --- a/src/tinyinst.rs +++ b/src/tinyinst.rs @@ -234,10 +234,10 @@ mod tests { #[cfg(target_os = "windows")] const TEST_FILENAME: &str = "test.exe"; - #[cfg(target_vendor = "apple")] + #[cfg(any(target_vendor = "apple", target_os = "linux"))] const TEST_FILENAME: &str = "test"; - #[cfg(target_vendor = "apple")] + #[cfg(any(target_vendor = "apple", target_os = "linux"))] const TEST_PATH: &str = "test/build/"; #[cfg(target_os = "windows")] const TEST_PATH: &str = "test/build/Debug/";