Add in version information for YATL
[m6w6/libmemcached] / tests / memcapable.cc
index ae50fefaf95c212d972146c06943d51f31bc6225..2723e7f656783bd52dca18b4ef6d02eaf09edfa3 100644 (file)
@@ -107,7 +107,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;
@@ -125,7 +125,7 @@ static void *world_create(server_startup_st& servers, test_return_t& error)
 void get_world(Framework *world)
 {
   executable= "./clients/memcapable";
-  world->collections= collection;
-  world->_create= world_create;
+  world->collections(collection);
+  world->create(world_create);
 }