forked from lijiext/lammps
must skip DeathTests if no data file loaded
This commit is contained in:
parent
67af8c000e
commit
3993f53946
|
@ -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"););
|
||||
|
|
Loading…
Reference in New Issue