Re: N3322 functionality tests
Bruno Haible via Gnulib discussion list <[email protected]>
| Newsgroups | gmane.comp.lib.gnulib.bugs |
|---|---|
| Message-ID | <5055133.zXnORWrf4K@cagnes> |
Hi Lasse, The multiplatform CI shows two test failures on mingw (that I can reproduce locally): FAIL: test-wmemcpy ================== ../../gltests/test-wmemcpy.c:31: assertion 's1 == NULL' failed Stack trace: 0x45b14ea null_wmemcpy ../../gltests/test-wmemcpy.c:31 0x45cd60b main ../../gltests/test-wmemcpy.c:63 FAIL test-wmemcpy.exe (exit status: 1) FAIL: test-wmemmove =================== ../../gltests/test-wmemmove.c:31: assertion 's1 == NULL' failed Stack trace: 0x3a9e14ea null_wmemmove ../../gltests/test-wmemmove.c:31 0x3a9fd60b main ../../gltests/test-wmemmove.c:63 FAIL test-wmemmove.exe (exit status: 1) They are probably due to the definition of wmemcpy and wmemmove as inline functions (that redirect to memcpy and memmove, respectively) in mingw's <wchar.h>. How should we handle this? Just skip the tests #if defined __MINGW32__ ? Or do you see something better? Bruno