From 87899ff9158c50a25d74b5766d905c4ce9c3c62a Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Sun, 4 Aug 2024 19:39:04 +0200 Subject: [PATCH] Avoid tests that run piglet when compiled for Pi --- tests/piglet.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/piglet.rs b/tests/piglet.rs index 07fcf4ab..2c11bf5b 100644 --- a/tests/piglet.rs +++ b/tests/piglet.rs @@ -43,6 +43,11 @@ pub fn run_piglet(config: Option) -> String { output } +#[cfg(not(all( + target_os = "linux", + any(target_arch = "aarch64", target_arch = "arm"), + target_env = "gnu" +)))] #[test] fn node_id_is_output() { let output = run_piglet(None);