Update of /cvsroot/cppunit/cppunit2/src/cpput
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23992/src/cpput
Modified Files:
lighttestrunner.cpp
Log Message:
Fixed bug: result report was not print.
Index: lighttestrunner.cpp
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/src/cpput/lighttestrunner.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** lighttestrunner.cpp 8 Aug 2005 22:10:21 -0000 1.4
--- lighttestrunner.cpp 9 Aug 2005 08:05:32 -0000 1.5
***************
*** 35,39 ****
if ( testFailed_ > 0 )
{
! printf( "Failure report:\n", report_.c_str() );
printf( "%d/%d tests passed, %d tests failed.",
testRun_ - testFailed_,
--- 35,39 ----
if ( testFailed_ > 0 )
{
! printf( "Failure report:\n%s\n", report_.c_str() );
printf( "%d/%d tests passed, %d tests failed.",
testRun_ - testFailed_,
|