bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fenv-*: Port to OpenBSD/mips64


From: Bruno Haible
Subject: fenv-*: Port to OpenBSD/mips64
Date: Tue, 07 Nov 2023 02:11:48 +0100

On OpenBSD/mips64, I see a couple of test failures of the fenv-* modules:

FAIL: test-fenv-env-1
FAIL: test-fenv-env-2
FAIL: test-fenv-env-3
FAIL: test-fenv-env-4
FAIL: test-fenv-except-state-2
FAIL: test-fenv-except-tracking-2.sh
FAIL: test-fenv-except-trapping-2.sh
FAIL: test-fenv-round
FAIL: test-nan-2
FAIL: test-snan-1

This set of patches fixes or silences them.


2023-11-06  Bruno Haible  <bruno@clisp.org>

        snan: Avoid test failures on OpenBSD/mips64.
        * tests/test-snan-1.c (main): Skip the 'long double' test on
        OpenBSD/mips64.
        * tests/test-snan-2.c (main): Likewise.

        fenv-*: Avoid test failures on OpenBSD/mips64.
        * tests/test-fenv-round.c (test_towardzero, test_upward, test_downward):
        Skip the 'long double' tests on OpenBSD/mips64.
        * tests/test-fenv-except-tracking-2.c (main): On OpenBSD/mips64, skip
        the 'long double' test.
        * tests/test-fenv-except-trapping-2.c (main): Skip the '4' tests and the
        'long double' tests also on OpenBSD/mips64.
        * doc/posix-functions/fesetround.texi: Mention OpenBSD/mips64 here too.

        fenv-exceptions-tracking-c99: Fix test failures on OpenBSD/mips64.
        * m4/fenv-exceptions-tracking.m4 (gl_FENV_EXCEPTIONS_TRACKING): On
        OpenBSD/mips, set REPLACE_FECLEAREXCEPT to 1.
        * doc/posix-functions/feclearexcept.texi: Mention the OpenBSD/mips64
        bug.
        * m4/fenv-exceptions-state.m4 (gl_FENV_EXCEPTIONS_STATE): No need to set
        gl_cv_func_fesetexceptflag_works1 to 'no' on OpenBSD/mips.

Attachment: 0001-fenv-exceptions-tracking-c99-Fix-test-failures-on-Op.patch
Description: Text Data

Attachment: 0002-fenv-Avoid-test-failures-on-OpenBSD-mips64.patch
Description: Text Data

Attachment: 0003-snan-Avoid-test-failures-on-OpenBSD-mips64.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]