Add HAVE_PETSC macro.

This commit is contained in:
Liu Ming
2014-07-08 10:58:39 +08:00
parent 8a118f45fe
commit 28b354c625
3 changed files with 15 additions and 5 deletions

View File

@@ -185,6 +185,7 @@ BOOST_AUTO_TEST_CASE(KAMGTest)
#endif
#endif
#if HAVE_PETSC
BOOST_AUTO_TEST_CASE(PETScTest)
{
Opm::parameter::ParameterGroup param;
@@ -195,3 +196,4 @@ BOOST_AUTO_TEST_CASE(PETScTest)
param.insertParameter(std::string("ksp_view"), std::string("0"));
run_test(param);
}
#endif