]> Savannah Git Hosting - gnulib.git/commitdiff
expl tests: Avoid test failure on NetBSD 10.0/i386.
authorBruno Haible <bruno@clisp.org>
Fri, 5 Apr 2024 13:16:27 +0000 (15:16 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 8 Apr 2024 10:42:35 +0000 (12:42 +0200)
* tests/test-exp.h (test_function): Allow more deviation on NetBSD/i386.

ChangeLog
tests/test-exp.h

index 0388bc0749afe51da0742084e7c44198f58c81f9..de749b198c2d3b50b8a71e3120da3dc766e1e7be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-04-05  Bruno Haible  <bruno@clisp.org>
+
+       expl tests: Avoid test failure on NetBSD 10.0/i386.
+       * tests/test-exp.h (test_function): Allow more deviation on NetBSD/i386.
+
 2024-04-03  Pádraig Brady  <P@draigBrady.com>
 
        quotearg: fix shell-escape quoting with single quotes
index 1b1d35c40098695fe29a282df6ccde88c44634fe..f7ef2a4063768bd02997538a5def546fef330573 100644 (file)
@@ -63,7 +63,9 @@ test_function (void)
     /* Error bound, in ulps.  */
     const DOUBLE err_bound =
       (sizeof (DOUBLE) > sizeof (double) ?
-#if defined __i386__ && defined __FreeBSD__
+#if defined __i386__ && defined __NetBSD__
+       L_(25000.0)
+#elif defined __i386__ && defined __FreeBSD__
        L_(2400.0)
 #else
        L_(24.0)