diff --git a/test/localadolcstiffnesstest.cc b/test/localadolcstiffnesstest.cc
index 22944f5efa2496a5b228ab76e95051d599eaba02..5c5faef4bae66f7d1ec12fec9bcc011dd7bba267 100644
--- a/test/localadolcstiffnesstest.cc
+++ b/test/localadolcstiffnesstest.cc
@@ -231,10 +231,10 @@ int main (int argc, char *argv[]) try
 
   }
 
-  // //////////////////////////////
+  return 0;
 }
-catch (Exception& e) {
-
+catch (Exception& e)
+{
   std::cout << e.what() << std::endl;
-
+  return 1;
 }