On Saturday 10 September 2011 19:43:08 Dan Kegel wrote:
#define ok_(file, func, line) (winetest_set_location(file, func, line), 0) ? (void)0 : winetest_ok #define ok ok_(__FILE__, __FUNCTION__, __LINE__)
That would get you most of what you propose without any changes to the tests, I think.
I think that would work. Of course you have to change the tests that explicitly use ok_()