Narrow-down Intel-specific #ifdef's
[alexxy/gromacs.git] / src / gromacs / listed_forces / tests / bonded.cpp
index 41c74f9294a23e40c02ce3fa6b5821afc4f4c1df..9cd1273cb9bc04a74ce27358273203233ca114b7 100644 (file)
@@ -770,8 +770,8 @@ std::vector<PaddedVector<RVec>> c_coordinatesForTestsZeroAngle = {
 //! PBC values for testing
 std::vector<PbcType> c_pbcForTests = { PbcType::No, PbcType::XY, PbcType::Xyz };
 
-// Those tests give errors with the intel compiler and nothing else, so we disable them only there.
-#ifndef __INTEL_COMPILER
+// Those tests give errors with the Intel compiler (as of October 2019) and nothing else, so we disable them only there.
+#if !defined(__INTEL_COMPILER) || (__INTEL_COMPILER >= 2021)
 INSTANTIATE_TEST_CASE_P(Bond,
                         ListedForcesTest,
                         ::testing::Combine(::testing::ValuesIn(c_InputBonds),