Building Wine conformance tests on Windows

Dmitry Timoshkov dmitry at baikal.ru
Fri May 2 17:51:58 CDT 2014


Albert Szilvasy <albert.szilvasy at autodesk.com> wrote:

> RE: the test needs to be fixed
> 
> There are lots of other errors. It looks like nobody has tried to build
> against the windows sdk headers for some time. I could try to fix it but
> if this isn't the way people work then it will get broken again and again.
> I'd rather stay on the beaten path than bushwhack on some old overgrown
> trail.

I routinely build Wine tests with PSDK headers and tools when I start
working on some area in Wine which needs tests. Probably a few other
people build Wine tests under Windows as well, but probably most of
developers simply crosscompile since it's way easier.

> RE: Another solution is to build with the Wine headers
> 
> I've also tried this and it gets me further but not all the way. I'm just
> trying to build the kernel32 tests for now and I get a linker error:
> volume.obj : error LNK2019: unresolved external symbol _strcasecmp
> referenced in function _test_GetVolumePathNameA
> 
> This is expected since _strcasecmp is called stricmp on Windows.

A test failing to compile with PSDK is a bug, and eventually should be
fixed. I'd suggest to limit the effort by the tests you really need at
this point and make only them build with PSDK as an exersize, once you
do it fixing other tests will be much easier.

-- 
Dmitry.



More information about the wine-devel mailing list