From 2d236b07ce985901f5ef7a3cd56e7d47e94196e3 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 5 Oct 2022 20:15:19 -0400 Subject: [PATCH] need to skip tests if MOLECULE package is missing --- unittest/commands/test_set_property.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/unittest/commands/test_set_property.cpp b/unittest/commands/test_set_property.cpp index 092a0172fc..92a6cb0055 100644 --- a/unittest/commands/test_set_property.cpp +++ b/unittest/commands/test_set_property.cpp @@ -107,6 +107,7 @@ TEST_F(SetTest, NoBoxNoAtoms) TEST_F(SetTest, StylesTypes) { + if (!Info::has_package("MOLECULE")) GTEST_SKIP(); atomic_system("molecular"); ASSERT_EQ(atom->natoms, 8);