From 9e0f0743f377e59ee2aa21666c18bb3b092661f5 Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Wed, 3 Aug 2011 17:36:55 +0000 Subject: [PATCH] THRIFT-1256 Unit Test Logging Output for CI pass BOOST environment variables to the test suite arguments and create a tests.xml with the results git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153594 13f79535-47bb-0310-9956-ffa450edef68 --- .gitignore | 1 + lib/cpp/test/Makefile.am | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 21985db7..8058880a 100644 --- a/.gitignore +++ b/.gitignore @@ -50,6 +50,7 @@ /lib/cpp/test/TransportTest /lib/cpp/test/UnitTests /lib/cpp/test/ZlibTest +/lib/cpp/test/tests.xml /lib/cpp/test/*.la /lib/cpp/test/*.lo /lib/cpp/test/*.o diff --git a/lib/cpp/test/Makefile.am b/lib/cpp/test/Makefile.am index 18292683..6391a879 100644 --- a/lib/cpp/test/Makefile.am +++ b/lib/cpp/test/Makefile.am @@ -54,6 +54,11 @@ check_PROGRAMS = \ TFileTransportTest \ UnitTests +TESTS_ENVIRONMENT= \ + BOOST_TEST_LOG_SINK=tests.xml \ + BOOST_TEST_LOG_LEVEL=test_suite \ + BOOST_TEST_LOG_FORMAT=xml + TESTS = \ $(check_PROGRAMS) -- 2.17.1