Hi Francois,
You may have seen that Alexandre applied my patch, so the winsock test issue appears to be fixed.
I inserted an #ifdef _WIN32 clause at the top to adjust includes to run with VC++. I wonder if this should be done for all test programs to avoid the editing hassle.
The "Running tests on Windows" section in the Wine docs _definitely needs correction_. It currently doesn't talk about running tests on Windows at all - it covers running tests in Wine!! Besides, it is largely out of date, talking about perl tests and such.
With the current docs, my level of wine experience, and a fair amount of googling, it took me about 2 hours to find out how to get the tests running on Windows (1 - do "make test" in wine, 2 - copy .c files and wine/test.h to Windows, 3 - import everything into a VC++ project, 4 - adjust #include directives with trial and error, 5 - go for it).
I guess for newbies it will be pretty much impossible to figure this out. Or is there a really simple way that I just missed?
Martin