Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63564 - trunk/libs/exception/test
From: emil_at_[hidden]
Date: 2010-07-03 17:24:27


Author: emildotchevski
Date: 2010-07-03 17:24:26 EDT (Sat, 03 Jul 2010)
New Revision: 63564
URL: http://svn.boost.org/trac/boost/changeset/63564

Log:
fixing runtime errors in this test, hopefully
Text files modified:
   trunk/libs/exception/test/no_exceptions_test.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/libs/exception/test/no_exceptions_test.cpp
==============================================================================
--- trunk/libs/exception/test/no_exceptions_test.cpp (original)
+++ trunk/libs/exception/test/no_exceptions_test.cpp 2010-07-03 17:24:26 EDT (Sat, 03 Jul 2010)
@@ -9,6 +9,7 @@
 #include <boost/exception/info.hpp>
 #include <boost/exception/diagnostic_information.hpp>
 #include <boost/detail/lightweight_test.hpp>
+#include <stdlib.h>
 
 struct
 my_exception:
@@ -38,6 +39,7 @@
 #ifndef BOOST_NO_RTTI
         BOOST_TEST(s.find("my_tag")!=std::string::npos);
 #endif
+ exit(0);
         }
     }
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk