Skip to content

Commit

Permalink
commented out code when MPI is not found as it will cause compilation…
Browse files Browse the repository at this point in the history
… errors.
  • Loading branch information
astro-friedel committed Sep 21, 2023
1 parent 3014a35 commit d1631c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unittest/tests/communicators/mpicommtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,9 @@ TEST(MPIComm, recv) {
#else // MPIINSTALLED

TEST(MPIComm, errors) {
EXPECT_THROW(MPIComm mpi, std::exception);
std::string name = "";
EXPECT_THROW(MPIComm mpi2(name, nullptr, SEND), std::exception);
//EXPECT_THROW(MPIComm mpi, std::exception);
//std::string name = "";
//EXPECT_THROW(MPIComm mpi2(name, nullptr, SEND), std::exception);
}

#endif // MPIINSTALLED

0 comments on commit d1631c3

Please sign in to comment.