]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/graph_parallel/test/distributed_connected_components_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / graph_parallel / test / distributed_connected_components_test.cpp
index e630bbb031e848bbead6878e46ed144b7370d15a..fbc1bee22a248f9b5bd511080a98360a5e28c362 100644 (file)
@@ -24,7 +24,7 @@
 #include <cstdlib>
 #include <iomanip>
 #include <boost/random.hpp>
-#include <boost/test/minimal.hpp>
+#include <boost/core/lightweight_test.hpp>
 
 #include <boost/graph/distributed/compressed_sparse_row_graph.hpp>
 #include <boost/graph/rmat_graph_generator.hpp>
@@ -185,7 +185,7 @@ test_distributed_connected_components(int n, double _p, bool verify, bool emit_d
     }
 }
 
-int test_main(int argc, char* argv[])
+int main(int argc, char* argv[])
 {
   mpi::environment env(argc, argv);
 
@@ -200,5 +200,5 @@ int test_main(int argc, char* argv[])
        argc == 6? 1 : atoi(argv[6]),
        argv[5]==std::string("true"));
 
-  return 0;
+  return boost::report_errors();
 }