Unverified Commit b1fbee9b authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

skip testing fix nve/limit for r-RESPA as it is not compatible by design

parent a0aca4ce
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -516,9 +516,11 @@ TEST(FixTimestep, plain)
            std::cerr << "global_data, rmass, verlet: " << stats << std::endl;
    }

    // rigid fixes need work to test properly with r-RESPA
    // rigid fixes need work to test properly with r-RESPA.
    // fix nve/limit cannot work with r-RESPA
    ifix = lmp->modify->find_fix("test");
    if (!utils::strmatch(lmp->modify->fix[ifix]->style, "^rigid")) {
    if (!utils::strmatch(lmp->modify->fix[ifix]->style, "^rigid")
        && !utils::strmatch(lmp->modify->fix[ifix]->style, "^nve/limit")) {

        if (!verbose) ::testing::internal::CaptureStdout();
        cleanup_lammps(lmp, test_config);