X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fframework.cc;h=ea7ca66505e79af9811da02b3701f854c772f151;hb=b5495838fb245aa1068a1198ed549b98a9c3e666;hp=114dae46b71e02da242a055dbeb6e3c479164ecd;hpb=1be0350e7ae7a566896a9fe52863dcc22433fc8a;p=m6w6%2Flibmemcached diff --git a/libtest/framework.cc b/libtest/framework.cc index 114dae46..ea7ca665 100644 --- a/libtest/framework.cc +++ b/libtest/framework.cc @@ -40,6 +40,7 @@ #include #include +#include #include using namespace libtest; @@ -47,13 +48,14 @@ using namespace libtest; Framework::Framework(libtest::SignalThread& signal, const std::string& only_run_arg, const std::string& wildcard_arg) : - collections(NULL), + _collections(NULL), _total(0), _success(0), _skipped(0), _failed(0), _create(NULL), _destroy(NULL), + _on_error(NULL), _runner(NULL), _socket(false), _creators_ptr(NULL), @@ -63,7 +65,7 @@ Framework::Framework(libtest::SignalThread& signal, { get_world(this); - for (collection_st *next= collections; next and next->name; next++) + for (collection_st *next= _collections; next and next->name; next++) { _collection.push_back(new Collection(this, next)); }