projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge lp:~tangent-org/libmemcached/1.0-build Build: jenkins-Libmemcached-1.0-115
[m6w6/libmemcached]
/
libtest
/
comparison.cc
diff --git
a/libtest/comparison.cc
b/libtest/comparison.cc
index b670326c65b35837a82c8a01b6491bf201a1af91..c16399db7a31f3e9a5d0a1d5363cb3a1180fe49f 100644
(file)
--- a/
libtest/comparison.cc
+++ b/
libtest/comparison.cc
@@
-34,11
+34,21
@@
*
*/
*
*/
-#include
<config.h>
+#include
"mem_config.h"
#include <libtest/common.h>
namespace libtest {
#include <libtest/common.h>
namespace libtest {
+bool jenkins_is_caller(void)
+{
+ if (bool(getenv("JENKINS_HOME")))
+ {
+ return true;
+ }
+
+ return false;
+}
+
bool valgrind_is_caller(void)
{
if (bool(getenv("TESTS_ENVIRONMENT")) and strstr(getenv("TESTS_ENVIRONMENT"), "valgrind"))
bool valgrind_is_caller(void)
{
if (bool(getenv("TESTS_ENVIRONMENT")) and strstr(getenv("TESTS_ENVIRONMENT"), "valgrind"))