From bf89ba2f41559a48fa3ea4f9e544fec8f6d35241 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 5 Apr 2024 15:30:28 +0200 Subject: [PATCH] exp2l tests: Enable a test for glibc versions >= 2.16. * tests/test-exp2.h (test_function): Disable a glibc bug workaround for glibc versions >= 2.16. --- ChangeLog | 6 ++++++ tests/test-exp2.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3d347161ea..8c478f08b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-04-05 Bruno Haible + + exp2l tests: Enable a test for glibc versions >= 2.16. + * tests/test-exp2.h (test_function): Disable a glibc bug workaround for + glibc versions >= 2.16. + 2024-04-05 Bruno Haible expl tests: Avoid test failure on NetBSD 10.0/i386. diff --git a/tests/test-exp2.h b/tests/test-exp2.h index 836abe63b6..a17e30ea49 100644 --- a/tests/test-exp2.h +++ b/tests/test-exp2.h @@ -36,7 +36,7 @@ test_function (void) ASSERT (y == L_(1.0)); } /* */ -#if !(defined __linux__ && (defined __sparc__ || defined __powerpc__)) +#if !(__GLIBC__ == 2 && __GLIBC_MINOR__ < 16 && (defined __sparc__ || defined __powerpc__)) { int e; DOUBLE x; -- 2.39.5