X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=libtest%2Fcollection.cc;h=3f85d0fe9ea0394e2d1bd9ba1b86bfeec17b2311;hb=38c7c4e5444881eee8f76c6050e146c137c3781e;hp=c6fec1ebd8d57250700aa29a30d6e8dc70f17d90;hpb=bce9a74e8addd1085b2e751508bf9ab0c2e84e45;p=m6w6%2Flibmemcached diff --git a/libtest/collection.cc b/libtest/collection.cc index c6fec1eb..3f85d0fe 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; @@ -122,8 +120,7 @@ test_return_t Collection::exec() } catch (libtest::fatal &e) { - Error << "Fatal exception was thrown: " << e.what(); - return_code= TEST_FAILURE; + stream::cerr(e.file(), e.line(), e.func()) << e.what(); _failed++; throw; }