Update of /cvsroot/boost/boost/libs/spirit/fusion/test
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29671/libs/spirit/fusion/test

Modified Files:
      Tag: RC_1_34_0
        pair_tests.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: pair_tests.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/spirit/fusion/test/Attic/pair_tests.cpp,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -d -r1.2.2.1 -r1.2.2.2
--- pair_tests.cpp      28 Jul 2006 19:22:15 -0000      1.2.2.1
+++ pair_tests.cpp      25 Feb 2007 15:28:01 -0000      1.2.2.2
@@ -40,5 +40,5 @@
     BOOST_TEST(get<0>(pr2) == 2);
     BOOST_TEST(get<1>(pr2) == "world");
     
-    return 0;
+    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