On Monday 06 April 2026 16:22:16 Bruno Haible wrote:
> Hi,
> 
> Pali Rohár asked:
> > Hello, could you please check if the following mingw-w64 change fixes this 
> > problem?
> 
> I can't test mingw-w64 changes. But you can do so with these steps:
>   $ wget https://haible.de/bruno/gnu/testdir-fenv.tar.gz
>   $ tar xfz testdir-fenv.tar.gz
>   $ cd testdir-fenv
>   $ ./configure -C
>   $ make
>   $ make check

Hello, I have just quickly compiled the mingw-w64 with that mentioned
my change and on Linux under wine I run your checks with:

  make check LOG_COMPILER=wine

The result is:

  PASS: test-alignasof.exe
  PASS: test-assert.exe
  PASS: test-bool.exe
  PASS: test-fcntl-h.exe
  PASS: test-fenv-env-1.exe
  PASS: test-fenv-env-2.exe
  PASS: test-fenv-env-3.exe
  PASS: test-fenv-env-4.exe
  PASS: test-fenv-env-5.exe
  FAIL: test-fenv-env-6.sh
  PASS: test-fenv-except-state-4.exe
  PASS: test-fenv-except-state-1.exe
  PASS: test-fenv-except-state-2.exe
  PASS: test-fenv-except-state-3.exe
  PASS: test-fenv-except-tracking-4.exe
  PASS: test-fenv-except-tracking-5.exe
  PASS: test-fenv-except-tracking-1.exe
  FAIL: test-fenv-except-tracking-2.sh
  FAIL: test-fenv-except-tracking-3.sh
  FAIL: test-fenv-except-trapping-1.exe
  FAIL: test-fenv-except-trapping-2.sh
  PASS: test-fenv-h.exe
  PASS: test-fenv-round.exe
  PASS: test-intprops.exe
  PASS: test-inttypes-h.exe
  PASS: test-limits-h.exe
  PASS: test-stddef-h.exe
  PASS: test-stdint-h.exe
  PASS: test-stdlib-h.exe
  PASS: test-string-h.exe
  PASS: test-sys_types-h.exe
  FAIL: test-init.sh
  PASS: test-unistd-h.exe
  PASS: test-verify.exe
  FAIL: test-verify.sh
  PASS: test-wchar-h.exe
  ============================================================================
  Testsuite summary for dummy 0
  ============================================================================
  # TOTAL: 36
  # PASS:  29
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  7
  # XPASS: 0
  # ERROR: 0
  ============================================================================
  See gltests/test-suite.log for debugging.
  ============================================================================

All .sh scripts cannot be run under wine and the only exe failure is
test-fenv-except-trapping-1.exe test

In the gltests/test-suite.log file is this:

  FAIL: test-fenv-except-trapping-1
  =================================

  test-fenv-except-trapping-1.c:64: assertion 'fedisableexcept 
(uint_to_exceptions (b)) == uint_to_exceptions (a)' failed
  FAIL test-fenv-except-trapping-1.exe (exit status: 3)

Is this useful as a quick test result?

Reply via email to