Let tests pass for the moment.
[awesomized/libmemcached] / libtest / collection.cc
index 717847eb8d6537937576a52eabb4a91a24ed1290..346a151cb69ac422d49609cb300b3bc7fb975f48 100644 (file)
@@ -118,9 +118,19 @@ test_return_t Collection::exec()
           }
         }
 
-        return_code= runner_code(_frame, run, _timer);
+        alarm(60);
+        try 
+        {
+          return_code= runner_code(_frame, run, _timer);
+        }
+        catch (...)
+        {
+          alarm(0);
+          throw;
+        }
+        alarm(0);
       }
-      catch (libtest::fatal &e)
+      catch (libtest::exception &e)
       {
         stream::cerr(e.file(), e.line(), e.func()) << e.what();
         _failed++;