Fix (test for) lp:655423
[m6w6/libmemcached] / libtest / test.h
index 0493f3106b1b4b657aefb312d6195fb49a141af5..29959283ca1078b629689e6326427e50e5c6c117 100644 (file)
@@ -228,6 +228,15 @@ do \
   } \
 } while (0)
 
+#define test_skip(A,B) \
+do \
+{ \
+  if ((A) != (B)) \
+  { \
+    return TEST_SKIPPED; \
+  } \
+} while (0)
+
 #define test_compare_got(A,B,C) \
 do \
 { \