Update of /cvsroot/boost/boost/libs/multi_array/test
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29671/libs/multi_array/test
Modified Files:
Tag: RC_1_34_0
storage_order_convert.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: storage_order_convert.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/multi_array/test/storage_order_convert.cpp,v
retrieving revision 1.5
retrieving revision 1.5.8.1
diff -u -d -r1.5 -r1.5.8.1
--- storage_order_convert.cpp 20 Jul 2004 23:22:34 -0000 1.5
+++ storage_order_convert.cpp 25 Feb 2007 15:28:01 -0000 1.5.8.1
@@ -35,5 +35,5 @@
BOOST_TEST(fortran_storage ==
(general_storage_order<5>) fortran_storage_order());
- return boost::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