Commit 8542924f authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

tests: return with error code when an exception was caught

parent 9ab63ad3
......@@ -259,6 +259,7 @@ int main(int argc, char** argv) try
catch (const Dune::Exception& e) {
std::cout << e << std::endl;
return 1;
}
......@@ -281,6 +281,7 @@ int main(int argc, char** argv) try
catch (const Dune::Exception& e) {
std::cout << e << std::endl;
return 1;
}
......@@ -357,6 +357,7 @@ int main(int argc, char** argv) try
catch (const Dune::Exception& e) {
std::cout << e << std::endl;
return 1;
}
......@@ -183,4 +183,5 @@ int main(int argc, char** argv) try {
return passed ? 0 : 1;
} catch (const Dune::Exception& e) {
std::cout << e << std::endl;
return 1;
}
......@@ -266,6 +266,7 @@ int main(int argc, char** argv) try
catch (const Dune::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