X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fresult.hpp;h=a55926403c111a7e80e244e3a4b104becc924914;hb=381d409b224ca3b4510e770a98bc960084cdf2c4;hp=9e6bf2098a69101bf85299a5fb55d54b9183bdd8;hpb=293e7b59e12ff6b95b5463614b09bc0158f14592;p=m6w6%2Flibmemcached diff --git a/libtest/result.hpp b/libtest/result.hpp index 9e6bf209..a5592640 100644 --- a/libtest/result.hpp +++ b/libtest/result.hpp @@ -44,7 +44,12 @@ #include #define _SUCCESS throw libtest::__success(LIBYATL_DEFAULT_PARAM) -#define SKIP throw libtest::__skipped(LIBYATL_DEFAULT_PARAM) + +#define SKIP(...) \ +do \ +{ \ + throw libtest::__skipped(LIBYATL_DEFAULT_PARAM, __VA_ARGS__); \ +} while (0) #define FAIL(...) \ do \