From 3fe3f20b65d3f92bcd3c38f2293495db96da6141 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Sat, 11 Feb 2012 14:36:02 -0800 Subject: [PATCH] Test for Jenkins env --- libtest/test.cc | 4 ++++ 1 file changed, 4 insertions(+) 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")) -- 2.30.2