add exception for single test for colloid pair style
This commit is contained in:
@ -1101,9 +1101,12 @@ TEST(PairStyle, single)
|
||||
|
||||
// The single function in EAM is different from what we assume
|
||||
// here, therefore we have to skip testing those pair styles.
|
||||
if ((test_config.pair_style.substr(0, 3) == "eam") ||
|
||||
// Pair style colloid is also not compatible with this single tester
|
||||
if ((test_config.pair_style.substr(0, 7) == "colloid") ||
|
||||
(test_config.pair_style.substr(0, 3) == "eam") ||
|
||||
((test_config.pair_style.substr(0, 6) == "hybrid") &&
|
||||
(test_config.pair_style.find("eam") != std::string::npos))) {
|
||||
(test_config.pair_style.find("eam") != std::string::npos))
|
||||
) {
|
||||
if (!verbose) ::testing::internal::CaptureStdout();
|
||||
cleanup_lammps(lmp, test_config);
|
||||
if (!verbose) ::testing::internal::GetCapturedStdout();
|
||||
|
||||
Reference in New Issue
Block a user