]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/graph_parallel/test/distributed_graph_coloring_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / graph_parallel / test / distributed_graph_coloring_test.cpp
index 2b219c0a35346f31018a80d65b05bfc97d55e9a3..369501d6c6c23d61c5d0b7b766750b26aca612e0 100644 (file)
@@ -21,7 +21,7 @@
 #include <boost/graph/graphviz.hpp>
 #include <iostream>
 #include <boost/random.hpp>
-#include <boost/test/minimal.hpp>
+#include <boost/core/lightweight_test.hpp>
 
 #ifdef BOOST_NO_EXCEPTIONS
 void
@@ -79,7 +79,7 @@ test_distributed_graph_coloring(int n, double p, int s,
   }
 }
 
-int test_main(int argc, char* argv[])
+int main(int argc, char* argv[])
 {
   mpi::environment env(argc, argv);
 
@@ -97,5 +97,5 @@ int test_main(int argc, char* argv[])
 
   test_distributed_graph_coloring(n, p, s, seed, emit_dot_file);
 
-  return 0;
+  return boost::report_errors();
 }