X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fcomparison.cc;h=9b3e45e58907be57935a462b8c2aeed048b12e57;hb=f11376b6b5e8556138a15e01d79222775a0f286d;hp=4a1d99a301a5b2cfc63010b277e0e03cb0126935;hpb=37c91080586edd50cc18f67600332cefe5e3aab0;p=awesomized%2Flibmemcached diff --git a/libtest/comparison.cc b/libtest/comparison.cc index 4a1d99a3..9b3e45e5 100644 --- a/libtest/comparison.cc +++ b/libtest/comparison.cc @@ -34,7 +34,7 @@ * */ -#include "mem_config.h" +#include "libtest/yatlcon.h" #include namespace libtest { @@ -49,16 +49,6 @@ bool jenkins_is_caller(void) return false; } -bool valgrind_is_caller(void) -{ - if (bool(getenv("TESTS_ENVIRONMENT")) and strstr(getenv("TESTS_ENVIRONMENT"), "valgrind")) - { - return true; - } - - return false; -} - bool gdb_is_caller(void) { if (bool(getenv("TESTS_ENVIRONMENT")) and strstr(getenv("TESTS_ENVIRONMENT"), "gdb"))