Using trace in tests

Charles Davis cdavis at
Sat Dec 5 18:10:47 CST 2009

James McKenzie wrote:
> All:
> I'm asking a question again, don't 'shoot' me, but I've noticed the use
> of the trace() function in tests and I would like to use this to
> troubleshoot what is incorrect in the EM_FORMATRANGE patch as it is not
> passing on MacOSX builds.  The test appears to pass on WindowsXP sp2 as
> the failures did not appear in the winetest_latest for Wine-1.1.33.
> So, how do I enable the trace's I've added for testing so that I can fix
> the patch?
They should be automatically enabled when you run 'make test' in
dlls/riched20/tests. Conversely, they aren't enabled when you run
winetest.exe from Wine. You can forcibly enable them by setting
WINETEST_DEBUG=1 in the environment.

> Thank you.
> James McKenzie

More information about the wine-devel mailing list