#include // include the google testing header #include #include "MUQ/config.h" #if MUQ_HAS_MPI==1 #include #endif int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); #if MUQ_HAS_MPI==1 const int ierr = MPI_Init(nullptr, nullptr); #endif const int res = RUN_ALL_TESTS(); #if MUQ_HAS_MPI==1 MPI_Finalize(); #endif return res; }