]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/lambda/test/exception_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / lambda / test / exception_test.cpp
index ee906668b463193c745cd92bfb653fd55c30b694..661541f300de721f1b0d6f5f1aed79d6ef43e016 100644 (file)
@@ -11,7 +11,8 @@
 
 // -----------------------------------------------------------------------
 
-#include <boost/test/minimal.hpp>    // see "Header Implementation Option"
+#include <boost/core/lightweight_test.hpp>
+#define BOOST_CHECK BOOST_TEST
 
 #include "boost/lambda/lambda.hpp"
 
@@ -595,7 +596,7 @@ void return_type_matching() {
   BOOST_CHECK(a == 'b');
 }
   
-int test_main(int, char *[]) {   
+int main() {
 
   try 
   {
@@ -613,9 +614,5 @@ int test_main(int, char *[]) {
   }
 
 
-  return EXIT_SUCCESS;
+  return boost::report_errors();
 }
-
-
-
-