Theodore Dubois tblodt@icloud.com writes:
- /* This macro is necessary because of what the ok macro expands to. Failures would report the wrong line number. */
+#define TEST_GET_STRING(a,p,s,es) \
- getstring_test_result = getstring_test(a,p,s,es);\
- ok(getstring_test_result, "\n");
It would be better to avoid the macro and write the tests explicitly, with meaningful error messages.
Also, any chance to split the patch?