HavoqGT
test_mpi_communicator.cpp File Reference
#include <gtest/gtest.h>
#include <havoqgt/mpi.hpp>
Include dependency graph for test_mpi_communicator.cpp:

Go to the source code of this file.

Namespaces

 havoqgt
 
 havoqgt::test
 

Functions

 havoqgt::test::TEST (my_test, test_b)
 
GTEST_API_ int main (int argc, char **argv)
 

Function Documentation

GTEST_API_ int main ( int  argc,
char **  argv 
)

Definition at line 13 of file test_mpi_communicator.cpp.

13  {
14  CHK_MPI( MPI_Init( &argc, &argv) );
15  std::cout << "Running main() from gtest_main.cc\n";
16 
17  testing::InitGoogleTest(&argc, argv);
18  int to_return RUN_ALL_TESTS();
19  CHK_MPI( MPI_Finalize() );
20  return to_return;
21 }
#define CHK_MPI(a)
Definition: mpi.hpp:68