projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Disable silent rules so that we can view more in Jenkins.
[m6w6/libmemcached]
/
libtest
/
comparison.cc
diff --git
a/libtest/comparison.cc
b/libtest/comparison.cc
index 0429cde87ff5c4d7bbe2dcd042158ad2ad095d7f..9b3e45e58907be57935a462b8c2aeed048b12e57 100644
(file)
--- a/
libtest/comparison.cc
+++ b/
libtest/comparison.cc
@@
-34,7
+34,7
@@
*
*/
*
*/
-#include
<config.h>
+#include
"libtest/yatlcon.h"
#include <libtest/common.h>
namespace libtest {
#include <libtest/common.h>
namespace libtest {
@@
-49,19
+49,14
@@
bool jenkins_is_caller(void)
return false;
}
return false;
}
-bool
valgrind
_is_caller(void)
+bool
gdb
_is_caller(void)
{
{
- if (bool(getenv("TESTS_ENVIRONMENT")) and strstr(getenv("TESTS_ENVIRONMENT"), "
valgrind
"))
+ if (bool(getenv("TESTS_ENVIRONMENT")) and strstr(getenv("TESTS_ENVIRONMENT"), "
gdb
"))
{
return true;
}
{
return true;
}
- return false;
-}
-
-bool gdb_is_caller(void)
-{
- if (bool(getenv("TESTS_ENVIRONMENT")) and strstr(getenv("TESTS_ENVIRONMENT"), "gdb"))
+ if (bool(getenv("LIBTEST_IN_GDB")))
{
return true;
}
{
return true;
}