X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fcollection.cc;h=1de74ade078e1704cb6b173391def267ec026b0e;hb=d4758957f0b472a5f247004862fef55f58edcc8f;hp=c6fec1ebd8d57250700aa29a30d6e8dc70f17d90;hpb=1be0350e7ae7a566896a9fe52863dcc22433fc8a;p=m6w6%2Flibmemcached diff --git a/libtest/collection.cc b/libtest/collection.cc index c6fec1eb..1de74ade 100644 --- a/libtest/collection.cc +++ b/libtest/collection.cc @@ -97,8 +97,6 @@ test_return_t Collection::exec() { for (test_st *run= _tests; run->name; run++) { - long int load_time= 0; - if (_frame->match(run->name)) { continue; @@ -123,7 +121,7 @@ test_return_t Collection::exec() catch (libtest::fatal &e) { Error << "Fatal exception was thrown: " << e.what(); - return_code= TEST_FAILURE; + stream::cerr(__FILE__, __LINE__, __func__) << e.what(); _failed++; throw; }