On Sat, Sep 10, 2011 at 10:55 AM, Stefan Dösinger stefandoesinger@gmx.at wrote:
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_()
Might want to define the new form as ok2_ or something so we can defer changing the explicit uses of ok_().