[Intel-gfx] [PATCH i-g-t 1/2] lib/igt_core.h: fix igt_skip_on_f requirement message

Thomas Wood thomas.wood at intel.com
Wed Oct 29 16:20:46 CET 2014


Signed-off-by: Thomas Wood <thomas.wood at intel.com>
---
 lib/igt_core.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_core.h b/lib/igt_core.h
index b8f6702..5318c5e 100644
--- a/lib/igt_core.h
+++ b/lib/igt_core.h
@@ -397,7 +397,7 @@ void igt_exit(void) __attribute__((noreturn));
  * information to help debugging test failures.
  */
 #define igt_skip_on_f(expr, f...) do { \
-	if ((expr)) igt_skip_check(#expr , f); \
+	if ((expr)) igt_skip_check("!("#expr")", f); \
 } while (0)
 
 /* fork support code */
-- 
2.1.0




More information about the Intel-gfx mailing list