Refactor DEPENDENCIES
[awesomized/libmemcached] / libtest / comparison.cc
index c16399db7a31f3e9a5d0a1d5363cb3a1180fe49f..46aabe78973b31aa02da038dcd61c835551a5efb 100644 (file)
@@ -34,7 +34,7 @@
  *
  */
 
-#include "mem_config.h"
+#include "libtest/yatlcon.h"
 #include <libtest/common.h>
 
 namespace libtest {
@@ -66,6 +66,11 @@ bool gdb_is_caller(void)
     return true;
   }
 
+  if (bool(getenv("LIBTEST_IN_GDB")))
+  {
+    return true;
+  }
+
   return false;
 }