On Sun, 14 Sep 2025, Kirill Makurin wrote:

I pushed this patch series to by GitHub fork and noticed that all testcases-clang failed on aarch64[1]. The reason was pthread_misc/context1.c which was not prepared to handle arm platforms. I am not familiar with arm[64] and CONTEXT structure used in this test, so I simply added preprocessor conditions to skip this test for arm (patch 5).

It still seems like they hang in this configuration.

I took a quick look at definition of CONTEXT structure and wonder if `Pc` member is the proper one for this test?

I'll have to look closer at this test when I have more time.

Patch 12 adds GitHub CI integration. I added a new step "Build and test winpthreads" to testcases-{gcc,clang} jobs. I also marked "Build mingw-w64-crt and run testcases" step with "continue-on-error: true", I think it would nice to run winpthreads tests even if crt build/tests failed. Feel free to remove it if you don't like it.

Yeah I disagree about that part.

If the crt build/tests fail, we have a fatal issue there already - we
shouldn't be in that state. And if we are in that state,
running/investigating the winpthreads test is a smaller concern anyway.

Then as a bigger concern - "continue-on-error: true" means that even if you'd have a test failure in mingw-w64-crt tests, it would still mark the overall job as a success - so essentially it ignores all failures here, not just tries to run the winpthreads tests as well. So we really shouldn't include that flag here.

// Martin



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

Reply via email to