]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
snan tests: Avoid test failure on Android.
authorCollin Funk <collin.funk1@gmail.com>
Tue, 21 Oct 2025 02:49:45 +0000 (19:49 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Tue, 21 Oct 2025 23:23:49 +0000 (16:23 -0700)
* tests/test-snan-1.c (main): Disable test that is known to fail.

ChangeLog
tests/test-snan-1.c

index 4c5692df32f83be517a063e6e87fdd2b6c70421c..099df21e820008097bf83c3ca3cbee322f859692 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-10-21  Collin Funk  <collin.funk1@gmail.com>
+
+       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  <bruno@clisp.org>
 
        fts: Attempt to silence Coverity Scan.
index a958e9af0bc5936f3ab98549f320e1ac8218f556..75359a38133de8bc5ed9173684817bb31c696a3f 100644 (file)
@@ -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))
   {