From: Roger Meier Date: Wed, 3 Aug 2011 17:36:55 +0000 (+0000) Subject: THRIFT-1256 Unit Test Logging Output for CI X-Git-Tag: 0.7.0~11 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=9e0f0743f377e59ee2aa21666c18bb3b092661f5;p=common%2Fthrift.git 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 --- 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)