http://bugs.winehq.org/show_bug.cgi?id=23095
--- Comment #4 from Paul Vriens Paul.Vriens.Wine@gmail.com 2010-06-10 15:11:23 --- (In reply to comment #3)
Also, how do you build winetest.exe or msvcrt_test.exe? In programs/winetest, "make winetest.exe" produces a shell script. In dlls/msvcrt/tests, "make crosstest" fails to link ("cannot find -lwinecrt0").
I used the winetest.exe from test.winehq.org. You can extract the tests by doing 'winetest.exe -x'.
I do however compile my own winetest.exe (see also http://wiki.winehq.org/CompilingDLLsUsingMingw)
Why do these behave differently? Doesn't the latter just extract msvcrt_test.exe and run the former?
Yes, but I guess in a different context (subprocess and such).
I did find the culprit though. If I comment out the _ecvt test loop in test_xcvt(), I get the expected "Tests skipped" in both case (single exe and via winetest.exe).
No idea how to fix that yet. Will try and see if I can find the offending single test(s).