You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2011/08/03 19:36:56 UTC

svn commit: r1153594 - in /thrift/trunk: .gitignore lib/cpp/test/Makefile.am

Author: roger
Date: Wed Aug  3 17:36:55 2011
New Revision: 1153594

URL: http://svn.apache.org/viewvc?rev=1153594&view=rev
Log:
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

Modified:
    thrift/trunk/.gitignore
    thrift/trunk/lib/cpp/test/Makefile.am

Modified: thrift/trunk/.gitignore
URL: http://svn.apache.org/viewvc/thrift/trunk/.gitignore?rev=1153594&r1=1153593&r2=1153594&view=diff
==============================================================================
--- thrift/trunk/.gitignore (original)
+++ thrift/trunk/.gitignore Wed Aug  3 17:36:55 2011
@@ -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

Modified: thrift/trunk/lib/cpp/test/Makefile.am
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/cpp/test/Makefile.am?rev=1153594&r1=1153593&r2=1153594&view=diff
==============================================================================
--- thrift/trunk/lib/cpp/test/Makefile.am (original)
+++ thrift/trunk/lib/cpp/test/Makefile.am Wed Aug  3 17:36:55 2011
@@ -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)