Skip to content
Snippets Groups Projects
Commit f97cc360 authored by Alexander Kissinger's avatar Alexander Kissinger
Browse files

Changed the test so that it is skipped if alu or ug are not installed instead of throwing an error.

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11705 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent f20bf7c2
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ SET_PROP(EvaporationAtmosphereProblem, Grid)
#elif HAVE_ALUGRID
typedef typename Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming> type;
#else
#error "Evaporation Atmosphere not built, needs either UG or ALU for the log mesh." << std::endl;
Dune::YaspGrid<2> type;
#endif
};
......
......@@ -341,6 +341,12 @@ int start(int argc, char **argv)
int main(int argc, char** argv)
{
#if !HAVE_UG || !HAVE_ALUGRID
std::cout<<"Evaporation Atmosphere not built, needs either UG or ALU for the log mesh." << std::endl;
return 77;
#else
typedef TTAG(EvaporationAtmosphereProblem) ProblemTypeTag;
return start<ProblemTypeTag>(argc, argv);//, usage);
#endif
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment