]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/graph_parallel/test/distributed_adjacency_list_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / graph_parallel / test / distributed_adjacency_list_test.cpp
index cc7ce8cf561e3a99060aa34c5cf312d14ed8b0fe..c25d707cfa4f68a60572780fd760a329161b8a31 100644 (file)
@@ -16,7 +16,7 @@
 #include <boost/graph/parallel/distribution.hpp>
 #include <iostream>
 #include <cassert>
-#include <boost/test/minimal.hpp>
+#include <boost/core/lightweight_test.hpp>
 
 #ifdef BOOST_NO_EXCEPTIONS
 void
@@ -39,7 +39,7 @@ struct never
   result_type operator()(argument_type) { return false; }
 };
 
-int test_main(int argc, char** argv)
+int main(int argc, char** argv)
 {
   boost::mpi::environment env(argc, argv);
 
@@ -280,5 +280,5 @@ int test_main(int argc, char** argv)
     remove_edge_if(never<Graph3>(), g3);
   }
 
-  return 0;
+  return boost::report_errors();
 }