| Index: tests/Test.h
|
| diff --git a/tests/Test.h b/tests/Test.h
|
| index d643c8382a168068412043f752ccb802c1c5d44c..3b965b61131f04d1d8f4d08940b9c2a1dc93fb50 100644
|
| --- a/tests/Test.h
|
| +++ b/tests/Test.h
|
| @@ -94,11 +94,11 @@ void RunWithGPUTestContexts(T testFunction, GPUTestContexts contexts, Reporter*
|
| } \
|
| } while (0)
|
|
|
| -#define REPORTER_ASSERT_MESSAGE(r, cond, message) \
|
| - do { \
|
| - if (!(cond)) { \
|
| - REPORT_FAILURE(r, #cond, SkString(message)); \
|
| - } \
|
| +#define REPORTER_ASSERT_MESSAGE(r, cond, ...) \
|
| + do { \
|
| + if (!(cond)) { \
|
| + REPORT_FAILURE(r, #cond, SkStringPrintf(__VA_ARGS__)); \
|
| + } \
|
| } while (0)
|
|
|
| #define ERRORF(r, ...) \
|
|
|