X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=libtest%2Fis_local.cc;h=ef4059c380e87f3f10a8233cd6fa2dff1c75cb9c;hb=bb98ce33936edc0dc914652c0227f95727518b16;hp=b03c2325307bdd4b3a0a671bffc7bb8617930eff;hpb=9139975f5fe7895259645117b1e0e9a6cb9c27cc;p=awesomized%2Flibmemcached diff --git a/libtest/is_local.cc b/libtest/is_local.cc index b03c2325..ef4059c3 100644 --- a/libtest/is_local.cc +++ b/libtest/is_local.cc @@ -34,7 +34,7 @@ * */ -#include +#include "libtest/yatlcon.h" #include @@ -45,5 +45,16 @@ bool test_is_local() return (getenv("LIBTEST_LOCAL")); } +static bool _is_massive= false; +void is_massive(bool arg) +{ + _is_massive= arg; +} + +bool is_massive() +{ + return _is_massive; +} + } // namespace libtest