Commit a6b79c17 authored by Elias Pipping's avatar Elias Pipping
Browse files

Tests: Leave exceptions uncaught

Thereby bringing the tests in line with dune-fufem. The current logic of
printing a message and exciting with failure (albeit only for exceptions
of type Dune::Exception) is what happens by default anyway (but for more
general exceptions)
parent fb2bb077
......@@ -10,7 +10,7 @@
using namespace Dune;
int main(int argc, char** argv) try
int main(int argc, char** argv)
{
// Create a norm functional on (R^3)^2 for testing
std::vector<double> coefficients = {2.0, 3.0};
......@@ -56,8 +56,3 @@ int main(int argc, char** argv) try
return 0;
}
catch (Exception e)
{
std::cout << e << std::endl;
return 1;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment