must not test for bonded interactions without MOLECULE package

This commit is contained in:
Axel Kohlmeyer
2021-06-06 18:37:14 -04:00
parent 0ee6cf798c
commit 8b0a063059

View File

@ -209,6 +209,7 @@ TEST_F(MoleculeFileTest, twofiles)
TEST_F(MoleculeFileTest, bonds) TEST_F(MoleculeFileTest, bonds)
{ {
if (!LAMMPS::is_installed_pkg("MOLECULE")) GTEST_SKIP();
BEGIN_CAPTURE_OUTPUT(); BEGIN_CAPTURE_OUTPUT();
command("atom_style bond"); command("atom_style bond");
command("region box block 0 1 0 1 0 1"); command("region box block 0 1 0 1 0 1");