Update of /cvsroot/boost/boost/libs/graph/doc
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29671/libs/graph/doc

Modified Files:
      Tag: RC_1_34_0
        eg1-iso.cpp 
Log Message:
Correct testing bugs:

    either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST 
    (in my code only)

    or adding "return boost::report_errors();" where it was clearly
    missing (and a pure bug, in anyone's code).

    or changing BOOST_TEST to BOOST_CHECK where the integer library
    was clearly using Boost.Test and not returning report_errors().


Index: eg1-iso.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/graph/doc/eg1-iso.cpp,v
retrieving revision 1.9
retrieving revision 1.9.12.1
diff -u -d -r1.9 -r1.9.12.1
--- eg1-iso.cpp 27 Jul 2004 03:43:33 -0000      1.9
+++ eg1-iso.cpp 25 Feb 2007 15:28:02 -0000      1.9.12.1
@@ -102,5 +102,5 @@
 int test_main(int, char* [])
 {
   test_isomorphism();
-  return EXIT_SUCCESS;
+  return boost::report_errors();
 }


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to