X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Ffailure.cc;h=abba57ed4718e1186f00f731d23f58890ea4cf64;hb=9d64a2dd252e2a8e0aa22706323755316831d98a;hp=95c8fb6ad8cfb8f482414a8b8d6afeb682547427;hpb=25efe3485198149616820ab4e52d2f18f0abe5a7;p=m6w6%2Flibmemcached diff --git a/tests/failure.cc b/tests/failure.cc index 95c8fb6a..abba57ed 100644 --- a/tests/failure.cc +++ b/tests/failure.cc @@ -34,7 +34,7 @@ * */ -#include +#include /* C++ interface test @@ -59,10 +59,12 @@ using namespace std; using namespace memcache; using namespace libtest; -Framework *global_framework= NULL; +libtest::Framework *global_framework= NULL; static test_return_t shutdown_servers(memcached_st *memc) { + return TEST_SKIPPED; + test_skip_valgrind(); test_compare(memcached_server_count(memc), 1U); @@ -75,6 +77,8 @@ static test_return_t shutdown_servers(memcached_st *memc) static test_return_t add_shutdown_servers(memcached_st *memc) { + return TEST_SKIPPED; + test_skip_valgrind(); while (memcached_server_count(memc) < 2) @@ -220,7 +224,7 @@ collection_st collection[] ={ #include "tests/libmemcached_world.h" -void get_world(Framework *world) +void get_world(libtest::Framework* world) { world->servers().set_servers_to_run(1);