From: Brian Aker Date: Sat, 11 Feb 2012 22:36:02 +0000 (-0800) Subject: Test for Jenkins env X-Git-Tag: 1.0.5~65 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=3fe3f20b65d3f92bcd3c38f2293495db96da6141;p=awesomized%2Flibmemcached Test for Jenkins env --- diff --git a/libtest/test.cc b/libtest/test.cc index 80cb8ddd..2096ad19 100644 --- a/libtest/test.cc +++ b/libtest/test.cc @@ -79,6 +79,10 @@ int main(int argc, char *argv[]) { close(STDOUT_FILENO); } + else if (getenv("JENKINS_URL")) + { + close(STDOUT_FILENO); + } char buffer[1024]; if (getenv("LIBTEST_TMP"))