From abedf15f5f88d4618e65cba99f22c2ceea825a3d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 5 Apr 2024 15:16:27 +0200 Subject: [PATCH] expl tests: Avoid test failure on NetBSD 10.0/i386. * tests/test-exp.h (test_function): Allow more deviation on NetBSD/i386. --- ChangeLog | 5 +++++ tests/test-exp.h | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 306e4a610b..d4d3831cac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-04-05 Bruno Haible + + 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 quotearg: fix shell-escape quoting with single quotes diff --git a/tests/test-exp.h b/tests/test-exp.h index e018f4e1e3..f7ef2a4063 100644 --- a/tests/test-exp.h +++ b/tests/test-exp.h @@ -1,5 +1,5 @@ /* Test of exp*() function family. - Copyright (C) 2012-2023 Free Software Foundation, Inc. + Copyright (C) 2012-2024 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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) -- 2.39.5