Hello M.
What is wrong with detecting the version, and branching the test code accordingly? Other tests do that IIRC. I think that is a better solution, if the version selector in winecfg is still going to be meaningful (registry).
How about fixing the functions as well (like IsWindowUnicode), so it returns the correct data according to the version in winecfg (registry).
However, i do like the irony in your example :-)
/pedro
On Tue, 2008-02-12 at 18:09 -0800, Maarten Lankhorst wrote:
Hi all,
I'm very close to passing the whole wine conformance suite on my pc. The only tests failing are in user32. These tests are failing in any version of windows though. How do I make them pass on at least 1 version of windows and wine? Would patches to make it run on xp and wine be accepted?
And if I can succeed with that, how do I make it work with other versions of windows as well.
Cheers, Maarten.
An example is IsWindowUnicode. It always returns TRUE on XP, but it won't do that on 9x. That would mean something like: ok(IsWindowUnicode() || !IsWindowUnicode(), "How can this fail?");