]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/graph_parallel/test/distributed_dimacs_reader.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / graph_parallel / test / distributed_dimacs_reader.cpp
index a2e3cb7b43c4092f07a1056784f6ec65099f415b..00d046ea09a27a2ef17e39712d342566eb186193 100644 (file)
@@ -16,7 +16,7 @@
 #include <boost/graph/distributed/mpi_process_group.hpp>
 #include <boost/graph/dimacs.hpp>
 #include <boost/graph/graphviz.hpp>
-#include <boost/test/minimal.hpp>
+#include <boost/core/lightweight_test.hpp>
 
 #include <iostream>
 #include <cstdlib>
@@ -73,7 +73,7 @@ test_dimacs_reader(const char *filename)
 }
 
 int
-test_main(int argc, char* argv[])
+main(int argc, char* argv[])
 {
   mpi::environment env(argc, argv);
 
@@ -81,5 +81,5 @@ test_main(int argc, char* argv[])
       test_dimacs_reader(argv[1]);
   }
 
-  return 0;
+  return boost::report_errors();
 }