]> git.ipfire.org Git - thirdparty/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>
Fri, 5 Apr 2024 13:16:27 +0000 (15:16 +0200)
* tests/test-exp.h (test_function): Allow more deviation on NetBSD/i386.

ChangeLog
tests/test-exp.h

index 2bb5443e317dda4bc0a35228899dd435de06b3b7..3d347161eaf1879a0f246b98fd1da74b9db7a492 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-05  Collin Funk  <collin.funk1@gmail.com>
 
        gnulib-tool.py: Use 'Any' instead of type unions in GLConfig.
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)