projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
c++: fix -Wbad-function-cast
[awesomized/libmemcached]
/
libtest
/
valgrind.h
diff --git
a/libtest/valgrind.h
b/libtest/valgrind.h
index 9d9e8bac88ab2b82f03b6f011808713f11e3bd3b..effeddc1faeeae30d3801e7ccb2868db4cffe0f5 100644
(file)
--- a/
libtest/valgrind.h
+++ b/
libtest/valgrind.h
@@
-38,14
+38,14
@@
static inline bool valgrind_is_caller(void)
{
static inline bool valgrind_is_caller(void)
{
- if (getenv("
TESTS_ENVIRONMENT") && strstr(getenv("TESTS_ENVIRONMENT
"), "valgrind"))
+ if (getenv("
LOG_COMPILER") && strstr(getenv("LOG_COMPILER
"), "valgrind"))
{
{
- if (strstr(getenv("
TESTS_ENVIRONMENT
"), "--tool") == NULL)
+ if (strstr(getenv("
LOG_COMPILER
"), "--tool") == NULL)
{
return true;
}
{
return true;
}
- if (strstr(getenv("
TESTS_ENVIRONMENT
"), "--tool=memcheck"))
+ if (strstr(getenv("
LOG_COMPILER
"), "--tool=memcheck"))
{
return true;
}
{
return true;
}