must skip test for pair style list, if MISC package is not available
This commit is contained in:
@ -52,6 +52,7 @@ namespace LAMMPS_NS {
|
|||||||
TEST(PairList, ListVsPairBond)
|
TEST(PairList, ListVsPairBond)
|
||||||
{
|
{
|
||||||
if (!lammps_config_has_package("MOLECULE")) GTEST_SKIP();
|
if (!lammps_config_has_package("MOLECULE")) GTEST_SKIP();
|
||||||
|
if (!lammps_config_has_package("MISC")) GTEST_SKIP();
|
||||||
|
|
||||||
const char *lmpargv[] = {"melt", "-log", "none", "-nocite"};
|
const char *lmpargv[] = {"melt", "-log", "none", "-nocite"};
|
||||||
int lmpargc = sizeof(lmpargv) / sizeof(const char *);
|
int lmpargc = sizeof(lmpargv) / sizeof(const char *);
|
||||||
|
|||||||
Reference in New Issue
Block a user