X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fcomparison.cc;h=4a1d99a301a5b2cfc63010b277e0e03cb0126935;hb=6b83fd5838692b71a50710b9bc13680f9c586167;hp=0429cde87ff5c4d7bbe2dcd042158ad2ad095d7f;hpb=1f3d43109ef752862093f8e4340fcfec1832b3be;p=m6w6%2Flibmemcached diff --git a/libtest/comparison.cc b/libtest/comparison.cc index 0429cde8..4a1d99a3 100644 --- a/libtest/comparison.cc +++ b/libtest/comparison.cc @@ -34,7 +34,7 @@ * */ -#include +#include "mem_config.h" #include namespace libtest { @@ -66,6 +66,11 @@ bool gdb_is_caller(void) return true; } + if (bool(getenv("LIBTEST_IN_GDB"))) + { + return true; + } + return false; }