This test, on github actions runners, hit what seems to be an
upstream bug (in the OS or UCRT).

Just skip this test for now. (Don't mark it as XFAIL, as it does
succeed just fine on other configurations.)

Signed-off-by: Martin Storsjö <[email protected]>
---
 mingw-w64-libraries/winpthreads/tests/pthread_exit/exit1.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/mingw-w64-libraries/winpthreads/tests/pthread_exit/exit1.c 
b/mingw-w64-libraries/winpthreads/tests/pthread_exit/exit1.c
index 5ac729870..a33027327 100644
--- a/mingw-w64-libraries/winpthreads/tests/pthread_exit/exit1.c
+++ b/mingw-w64-libraries/winpthreads/tests/pthread_exit/exit1.c
@@ -41,6 +41,13 @@
 int
 main(int argc, char * argv[])
 {
+#if defined(_M_ARM) || defined(_M_ARM64)
+       /* This test fails on AArch64 (ARM untested) on modern versions of
+        * Windows, possibly on modern HW.
+        * See 
https://developercommunity.visualstudio.com/t/Crash-when-doing-ExitThread-on-main-thre/10975751
+        * for upstream bug report. */
+       return 77;
+#endif
        /* A simple test first. */
        pthread_exit((void *) NULL);
 
-- 
2.43.0



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to