diff mbox

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

Message ID 1414596047-19397-1-git-send-email-thomas.wood@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Wood Oct. 29, 2014, 3:20 p.m. UTC
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
---
 lib/igt_core.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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 */