diff --git a/unittest/commands/test_simple_commands.cpp b/unittest/commands/test_simple_commands.cpp index 5f5ad0c0ce..eeb07dc0de 100644 --- a/unittest/commands/test_simple_commands.cpp +++ b/unittest/commands/test_simple_commands.cpp @@ -168,8 +168,10 @@ TEST_F(SimpleCommandsTest, Quit) auto mesg = ::testing::internal::GetCapturedStdout(); ASSERT_THAT(mesg, MatchesRegex(".*ERROR: Expected integer .*")); +#if !defined(OMPI_MAJOR_VERSION) // this stalls with OpenMPI. skip. ASSERT_EXIT(lmp->input->one("quit"), ExitedWithCode(0), ""); ASSERT_EXIT(lmp->input->one("quit 9"), ExitedWithCode(9), ""); +#endif } TEST_F(SimpleCommandsTest, ResetTimestep)