projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Have just one debug test, and don't use timers during gdb operations.
[awesomized/libmemcached]
/
libtest
/
comparison.cc
diff --git
a/libtest/comparison.cc
b/libtest/comparison.cc
index c16399db7a31f3e9a5d0a1d5363cb3a1180fe49f..4a1d99a301a5b2cfc63010b277e0e03cb0126935 100644
(file)
--- a/
libtest/comparison.cc
+++ b/
libtest/comparison.cc
@@
-66,6
+66,11
@@
bool gdb_is_caller(void)
return true;
}
+ if (bool(getenv("LIBTEST_IN_GDB")))
+ {
+ return true;
+ }
+
return false;
}