X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fframework.cc;h=9fef09b2485e18ed401b2a112be7c0fa27961f44;hb=9065046a3fd404f72fb090cb0da65cfa8443032f;hp=6cca8450abcbcffbc4a7672518acb96a668c0f0f;hpb=35811e5efa56436f7f0e03c68bc8cf78f2b2c1c4;p=awesomized%2Flibmemcached diff --git a/libtest/framework.cc b/libtest/framework.cc index 6cca8450..9fef09b2 100644 --- a/libtest/framework.cc +++ b/libtest/framework.cc @@ -34,7 +34,7 @@ * */ -#include +#include "libtest/yatlcon.h" #include #include @@ -118,8 +118,7 @@ void Framework::exec() _total++; - try - { + try { switch ((*iter)->exec()) { case TEST_FAILURE: @@ -145,7 +144,7 @@ void Framework::exec() catch (libtest::disconnected& e) { _failed++; - stream::cerr(e.file(), e.line(), e.func()) << "Unhandled disconnection occurred: " << e.mesg(); + Error << "Unhandled disconnection occurred:" << e.what(); throw; } catch (...)