]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/graph_parallel/test/distributed_csr_algorithm_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / graph_parallel / test / distributed_csr_algorithm_test.cpp
index 0653cc912dc4ba300735b90f11e68e38000ad5ce..3781aa584d314980a189646ac080207b2180545c 100644 (file)
@@ -40,7 +40,7 @@
 #include <boost/random/linear_congruential.hpp>
 #include <boost/graph/graphviz.hpp>
 #include <boost/property_map/vector_property_map.hpp>
-#include <boost/test/minimal.hpp>
+#include <boost/core/lightweight_test.hpp>
 
 #ifdef BOOST_NO_EXCEPTIONS
 void
@@ -211,7 +211,7 @@ struct VertexProperties {
   }
 };
 
-int test_main(int argc, char* argv[])
+int main(int argc, char* argv[])
 {
   mpi::environment env(argc, argv);
 
@@ -365,5 +365,5 @@ int test_main(int argc, char* argv[])
   std::ofstream out("dcsr.dot");
   write_graphviz(out, g);
 
-  return 0;
+  return boost::report_errors();
 }