mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add HAVE_PETSC macro.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user