Skip to content
Snippets Groups Projects

[cleanup][test] Remove try/catch exception handling from all tests

Merged Mathis Kelm requested to merge cleanup/exception-handling into master
All threads resolved!
Files
155
@@ -17,7 +17,7 @@
#include <dumux/discretization/box/fvgridgeometry.hh>
#include <dumux/io/grid/gridmanager_yasp.hh>
int main (int argc, char *argv[]) try
int main (int argc, char *argv[])
{
// maybe initialize mpi
Dune::MPIHelper::instance(argc, argv);
@@ -112,10 +112,3 @@ int main (int argc, char *argv[]) try
std::cout << "All tests passed!" << std::endl;
return 0;
}
// //////////////////////////////////
// Error handler
// /////////////////////////////////
catch (const Dune::Exception& e) {
std::cout << e << std::endl;
return 1;
}
Loading