THRIFT-1256 Unit Test Logging Output for CI
authorRoger Meier <roger@apache.org>
Wed, 3 Aug 2011 17:36:55 +0000 (17:36 +0000)
committerRoger Meier <roger@apache.org>
Wed, 3 Aug 2011 17:36:55 +0000 (17:36 +0000)
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
lib/cpp/test/Makefile.am

index 21985db..8058880 100644 (file)
@@ -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
index 1829268..6391a87 100644 (file)
@@ -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)