Skip to content

Commit

Permalink
THRIFT-1256 Unit Test Logging Output for CI
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bufferoverflow committed Aug 3, 2011
1 parent 345ecc7 commit 9e0f074
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions lib/cpp/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9e0f074

Please sign in to comment.