Jakob Eriksson jakov@vmlinux.org writes:
I just thought hard about winetest.exe... how about this approach:
if (running_under_wine || !win9x_based) { /* Do stuff that would crash Windows 9x. */
/* Could also be stuff that Wine has not yet implemented */ todo_wine { stuff(); } }
If a given call crashes under Win9x then there's probably no point in testing it that way at all, it's very unlikely that an app would depend on that. It would be much better to test the function in a way that doesn't crash on any platform.