]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/graph_parallel/test/adjlist_redist_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / graph_parallel / test / adjlist_redist_test.cpp
index 96a659ae56ac0836482a4760740123023a6aa875..59855d7a7eb262a29142b9aa5299f5922e3c91d8 100644 (file)
@@ -24,7 +24,7 @@
 #include <sstream>
 #include <string>
 #include <boost/graph/iteration_macros.hpp>
-#include <boost/test/minimal.hpp>
+#include <boost/core/lightweight_test.hpp>
 
 #ifdef BOOST_NO_EXCEPTIONS
 void
@@ -177,7 +177,7 @@ void test_redistribution(int n, double p, int iterations, bool debug_output)
   }
 }
 
-int test_main(int argc, char** argv)
+int main(int argc, char** argv)
 {
   int n = 1000;
   double p = 3e-3;
@@ -212,5 +212,5 @@ int test_main(int argc, char** argv)
   test_redistribution<UnstableUDGraph>(n, p, iterations, debug_output);
   test_redistribution<StableUDGraph>(n, p, iterations, debug_output);
 
-  return 0;
+  return boost::report_errors();
 }