must skip test for pair style list, if MISC package is not available

This commit is contained in:
Axel Kohlmeyer
2022-10-04 14:34:52 -04:00
parent 017ea1ace9
commit 7f90e43d0a

View File

@ -52,6 +52,7 @@ namespace LAMMPS_NS {
TEST(PairList, ListVsPairBond)
{
if (!lammps_config_has_package("MOLECULE")) GTEST_SKIP();
if (!lammps_config_has_package("MISC")) GTEST_SKIP();
const char *lmpargv[] = {"melt", "-log", "none", "-nocite"};
int lmpargc = sizeof(lmpargv) / sizeof(const char *);