From d6ca9e3800712b62f430793b6b142f1890caed51 Mon Sep 17 00:00:00 2001 From: Ulrich Hornung Date: Sat, 17 Feb 2024 17:20:39 +0100 Subject: [PATCH] disable failing test_od::test_f16() for android CI. --- tests/by-util/test_od.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/by-util/test_od.rs b/tests/by-util/test_od.rs index 78c4e1b04..e2ff07062 100644 --- a/tests/by-util/test_od.rs +++ b/tests/by-util/test_od.rs @@ -229,6 +229,13 @@ fn test_hex32() { .stdout_is(expected_output); } +// This test fails on Android CI on AVD on Ubuntu Github runners. +// It was never reproducible locally and seems to be very hard to fix. +// Thats why its disabled for android x86*. See uutils issue #5941. +#[cfg(not(all( + target_os = "android", + any(target_arch = "x86", target_arch = "x86_64") +)))] #[test] fn test_f16() { let input: [u8; 14] = [