Update for protocol (and a single fix).
[m6w6/libmemcached] / libtest / test.h
index d349e54ae0ee3603b6f1cc1f101b4168409de13d..d3d65287f69210cce3b28295d15e1e62b527afb5 100644 (file)
@@ -98,6 +98,15 @@ do \
   } \
 } while (0)
 
+#define test_skip_hint(__expected, __actual, __hint) \
+do \
+{ \
+  if (libtest::_compare_hint(__FILE__, __LINE__, __func__, (__expected), (__actual), (__hint)) == false) \
+  { \
+    return TEST_SKIPPED; \
+  } \
+} while (0)
+
 #define test_skip_valgrind() \
 do \
 { \