skip testing broken pppm/disp/intel style

This commit is contained in:
Axel Kohlmeyer
2020-07-04 23:07:50 -04:00
parent 6e580bbdb5
commit a314b40aa0

View File

@ -824,6 +824,14 @@ TEST(PairStyle, intel)
GTEST_SKIP(); GTEST_SKIP();
} }
if (lmp->force->kspace && utils::strmatch(lmp->force->kspace_style,"^pppm/disp/intel")) {
if (!verbose) ::testing::internal::CaptureStdout();
cleanup_lammps(lmp, test_config);
if (!verbose) ::testing::internal::GetCapturedStdout();
std::cerr << "Skipping kspace style pppm/disp/intel\n";
GTEST_SKIP();
}
// relax error a bit for USER-INTEL package // relax error a bit for USER-INTEL package
double epsilon = 7.5 * test_config.epsilon; double epsilon = 7.5 * test_config.epsilon;
// relax test precision when using pppm and single precision FFTs // relax test precision when using pppm and single precision FFTs