summaryrefslogtreecommitdiff
path: root/examples/cppunittest/CppUnitTestMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cppunittest/CppUnitTestMain.cpp')
-rw-r--r--examples/cppunittest/CppUnitTestMain.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/cppunittest/CppUnitTestMain.cpp b/examples/cppunittest/CppUnitTestMain.cpp
index 83bfe61..aa7591e 100644
--- a/examples/cppunittest/CppUnitTestMain.cpp
+++ b/examples/cppunittest/CppUnitTestMain.cpp
@@ -46,11 +46,12 @@ main( int argc, char* argv[] )
CPPUNIT_NS::CompilerOutputter outputter( &result, std::cerr );
outputter.write();
- std::ofstream file( "tests.xml" );
- CPPUNIT_NS::XmlOutputter xml( &result, file );
- xml.setStyleSheet( "report.xsl" );
- xml.write();
- file.close();
+// Uncomment this for XML output
+// std::ofstream file( "tests.xml" );
+// CPPUNIT_NS::XmlOutputter xml( &result, file );
+// xml.setStyleSheet( "report.xsl" );
+// xml.write();
+// file.close();
}
catch ( std::invalid_argument &e ) // Test path not resolved
{