Unverified Commit 3993f539 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

must skip DeathTests if no data file loaded

parent 67af8c00
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -660,6 +660,8 @@ TEST_F(ResetIDsTest, TopologyData)

TEST_F(ResetIDsTest, DeathTests)
{
    if (lmp->atom->natoms == 0) GTEST_SKIP();

    TEST_FAILURE(".*ERROR: Illegal reset_mol_ids command.*", lmp->input->one("reset_mol_ids"););
    TEST_FAILURE(".*ERROR: Illegal reset_mol_ids command.*",
                 lmp->input->one("reset_mol_ids all offset 1 1"););