Sync libtest.
[m6w6/libmemcached] / libtest / test.cc
index 3e5713c90485b004fa06c24e86272721f46e50ec..fb18e0ea892772767961cd06c285c40c1dd298b9 100644 (file)
@@ -350,6 +350,11 @@ int main(int argc, char *argv[])
             }
           }
 
+          catch (libtest::fatal &e)
+          {
+            Error << "Fatal exception was thrown: " << e.what();
+            return_code= TEST_FAILURE;
+          }
           catch (std::exception &e)
           {
             Error << "Exception was thrown: " << e.what();