>From 478697d6a7a8e36a149c34e20427f1a8aded7fd4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 5 Nov 2023 22:47:59 +0100 Subject: [PATCH 2/2] fenv-exceptions-trapping: Avoid test failure on Minix. * tests/test-fenv-except-trapping-2.c (main): Skip the '4' tests also on Minix. --- ChangeLog | 4 ++++ tests/test-fenv-except-trapping-2.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index e4567afb8a..e8f7086eb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2023-11-05 Bruno Haible + fenv-exceptions-trapping: Avoid test failure on Minix. + * tests/test-fenv-except-trapping-2.c (main): Skip the '4' tests also on + Minix. + fenv-exceptions-tracking-c99: Fix test failures on Minix. * m4/fenv-exceptions-tracking.m4 (gl_FENV_EXCEPTIONS_TRACKING): On Minix, set REPLACE_FECLEAREXCEPT and REPLACE_FETESTEXCEPT to 1. diff --git a/tests/test-fenv-except-trapping-2.c b/tests/test-fenv-except-trapping-2.c index 41da5d5b28..21d3548401 100644 --- a/tests/test-fenv-except-trapping-2.c +++ b/tests/test-fenv-except-trapping-2.c @@ -436,6 +436,7 @@ main (int argc, char *argv[]) FreeBSD/i386, FreeBSD/x86_64, NetBSD/i386, NetBSD/x86_64, OpenBSD/i386, OpenBSD/x86_64, + Minix/i386, AIX/powerpc, Solaris/i386, Solaris/x86_64, Cygwin/x86_64, @@ -459,6 +460,7 @@ main (int argc, char *argv[]) || (defined MUSL_LIBC && ((defined __i386 || defined _M_IX86) || defined __powerpc__)) \ || ((defined __APPLE__ && defined __MACH__) && ((defined __x86_64__ || defined _M_X64) || (defined __i386 || defined _M_IX86) || defined __aarch64__)) \ || ((defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__) && ((defined __x86_64__ || defined _M_X64) || (defined __i386 || defined _M_IX86))) \ + || (defined __minix && (defined __i386 || defined _M_IX86)) \ || (defined _AIX && defined __powerpc__) \ || (defined __sun && ((defined __x86_64__ || defined _M_X64) || (defined __i386 || defined _M_IX86))) \ || (defined __CYGWIN__ && (defined __x86_64__ || defined _M_X64)) \ -- 2.34.1