X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fmpi%2Ftest%2Fgroups_test.cpp;h=ce81d182d229eb1a217bb9a26d370256f8cfbc3e;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=64e4a811c23db090f1849fa6cc79ae20f6339fe7;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/libs/mpi/test/groups_test.cpp b/ceph/src/boost/libs/mpi/test/groups_test.cpp index 64e4a811c..ce81d182d 100644 --- a/ceph/src/boost/libs/mpi/test/groups_test.cpp +++ b/ceph/src/boost/libs/mpi/test/groups_test.cpp @@ -9,12 +9,13 @@ #include #include #include -#include #include #include -namespace mpi = boost::mpi; +#define BOOST_TEST_MODULE mpi_group_test +#include +namespace mpi = boost::mpi; template struct iota @@ -50,10 +51,9 @@ void group_test(const mpi::communicator& comm) } } -int test_main(int argc, char* argv[]) +BOOST_AUTO_TEST_CASE(group) { - mpi::environment env(argc,argv); + mpi::environment env; mpi::communicator comm; group_test(comm); - return 0; }