X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fmemslap.cc;h=2fd6a75f5858af5c31e77278ac0a4d0fb1abbbab;hb=20ac79fc8f8999f39b4fb33e55d4a205ce0c9a10;hp=3c5ea25030e2e36af734b6022f0f9a3e077ae4f8;hpb=23bbe3972dada1e21493437ba64be129e86b59fc;p=awesomized%2Flibmemcached diff --git a/tests/memslap.cc b/tests/memslap.cc index 3c5ea250..2fd6a75f 100644 --- a/tests/memslap.cc +++ b/tests/memslap.cc @@ -39,10 +39,10 @@ Test that we are cycling the servers we are creating during testing. */ -#include +#include #include -#include +#include using namespace libtest; @@ -167,7 +167,7 @@ collection_st collection[] ={ static void *world_create(server_startup_st& servers, test_return_t& error) { - if (HAVE_MEMCACHED_BINARY == 0) + if (libtest::has_memcached() == false) { error= TEST_SKIPPED; return NULL; @@ -183,7 +183,7 @@ static void *world_create(server_startup_st& servers, test_return_t& error) } -void get_world(Framework *world) +void get_world(libtest::Framework* world) { executable= "./clients/memslap"; world->collections(collection);