aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-03-25 23:10:47 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-13 22:40:52 +0100
commit72e980b95e9e2e653dea4d5663811e3df61ee842 (patch)
tree72ff2fae4c7a6869e62d09dcb670fa5bd210c846 /test
parent49f0201931d39c10bcca7c61c44d3880d6e92d52 (diff)
downloadusdx-72e980b95e9e2e653dea4d5663811e3df61ee842.tar.gz
usdx-72e980b95e9e2e653dea4d5663811e3df61ee842.tar.xz
usdx-72e980b95e9e2e653dea4d5663811e3df61ee842.zip
test: initialize log for test output
Diffstat (limited to 'test')
-rw-r--r--test/test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.cpp b/test/test.cpp
index b6e7d806..cd7095a6 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -32,9 +32,12 @@
#include <cppunit/BriefTestProgressListener.h>
#include <cppunit/XmlOutputter.h>
#include <cppunit/TextOutputter.h>
+#include <log4cpp/PropertyConfigurator.hh>
int main(int argc, char **argv)
{
+ log4cpp::PropertyConfigurator::configure("log4cpp.property");
+
CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();
// Create the event manager and test controller