From: Collin Funk Date: Tue, 21 Oct 2025 02:49:45 +0000 (-0700) Subject: snan tests: Avoid test failure on Android. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32ab90fa94880303b0873fc030c4af19dce59839;p=thirdparty%2Fgnulib.git snan tests: Avoid test failure on Android. * tests/test-snan-1.c (main): Disable test that is known to fail. --- diff --git a/ChangeLog b/ChangeLog index 4c5692df32..099df21e82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2025-10-21 Collin Funk + + snan tests: Avoid test failure on Android. + * tests/test-snan-1.c (main): Disable test that is known to fail. + 2025-10-21 Bruno Haible fts: Attempt to silence Coverity Scan. diff --git a/tests/test-snan-1.c b/tests/test-snan-1.c index a958e9af0b..75359a3813 100644 --- a/tests/test-snan-1.c +++ b/tests/test-snan-1.c @@ -83,14 +83,14 @@ main () #endif /* This test does not work on eglibc 2.13/mips64 (bug in libc function __addtf3). - This test does not work on FreeBSD/arm64 and OpenBSD/mips64 - (bug in libc function __addtf3). + This test does not work on FreeBSD/arm64, Android/arm64, + and OpenBSD/mips64 (bug in libc function __addtf3). This test does not work on FreeBSD/sparc64 and NetBSD/sparc64 (bug in libc function _Qp_add). This test does not work on MSVC/i386, because of the general IA-32 problem (see above) and 'long double' == 'double'. */ #if !((((__GLIBC__ == 2 && __GLIBC_MINOR__ < 19 && defined __mips64) \ - || ((defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__) && (defined __aarch64__ || defined __mips64__ || defined __sparc))) \ + || ((defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ || defined __ANDROID__) && (defined __aarch64__ || defined __mips64__ || defined __sparc))) \ && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE) \ || ((defined __i386 || defined _M_IX86) && HAVE_SAME_LONG_DOUBLE_AS_DOUBLE)) {