Commit 180fa37e authored by Oliver Sander's avatar Oliver Sander
Browse files

[bugfix] Explicitly terminate with 'return 1;' when an exception has been thrown

Otherwise the cmake test system doesn't recognize this as a failed test.
parent 4b4a032f
......@@ -49,4 +49,5 @@ int main(int argc, char** argv) try
catch (Exception e)
{
std::cout << e << std::endl;
}
\ No newline at end of file
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