Joel Holdsworth [mailto:joel@airwebreathe.org.uk]
However, you're saying GetVersion is a problem. Why is that? And how else is one supposed to cope with GdiAlphaBlend not being present in pre-XP systems, as well as old-style dithering differences?
Wine tests try to not depend on a particular OS version but instead cope with differences in APIs directly. For new APIs not present in earlier OSes this is simple. You need to import them dynamically anyhow in order to not cause the entire test module load to fail on older OS versions.
It is then simple to test for a valid function pointer from GetProcAddress() und skip all relevant tests if this is not the case.
Other differences should probably be handled by allowing either result to be valid and considered as a success for that particular operation. Same as with testing error return values for instance where sometimes a range of error codes is accepted as valid result.
Rolf Kalbermatter