Using trace in tests

James McKenzie jjmckenzie51 at
Sat Dec 5 18:37:30 CST 2009

Charles Davis wrote:
> 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.

Neither of these worked.  I'm not getting the outputs I expected to see.

James McKenzie

More information about the wine-devel mailing list