Unverified Commit 7ed74811 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

add exception for single test for colloid pair style

parent 8d406403
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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();