projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Add new method which allows someone to "take" a value from a result object.
[awesomized/libmemcached]
/
tests
/
memerror.cc
diff --git
a/tests/memerror.cc
b/tests/memerror.cc
index dd7610ef625cb9be3a23cbb47742fa959f21535d..76cc96c434570134387a79d112b478a2b8164064 100644
(file)
--- a/
tests/memerror.cc
+++ b/
tests/memerror.cc
@@
-111,13
+111,19
@@
collection_st collection[] ={
{0, 0, 0, 0}
};
{0, 0, 0, 0}
};
-static void *world_create(server_startup_st&, test_return_t&)
+static void *world_create(server_startup_st&, test_return_t&
error
)
{
{
+ if (libtest::has_memcached() == false)
+ {
+ error= TEST_SKIPPED;
+ return NULL;
+ }
+
return NULL;
}
return NULL;
}
-void get_world(
Framework *
world)
+void get_world(
libtest::Framework*
world)
{
world->collections(collection);
world->create(world_create);
{
world->collections(collection);
world->create(world_create);