X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Ftest.h;h=28d29a41c79d118e47ab741c3f198baf6776b2ae;hb=0d26482f4c7e8cb5e811771c91e95007d0b78f3e;hp=63b75ef0fdb105e9d65770ee7063e5971ba56f14;hpb=6dbe9f6cd35e445cf3122d80bd7814370ded2aa0;p=m6w6%2Flibmemcached diff --git a/tests/test.h b/tests/test.h index 63b75ef0..28d29a41 100644 --- a/tests/test.h +++ b/tests/test.h @@ -6,7 +6,7 @@ extern "C" { #endif #include -#include "../libmemcached/common.h" +#include typedef struct world_st world_st; typedef struct collection_st collection_st; @@ -16,13 +16,14 @@ typedef enum { TEST_SUCCESS= 0, /* Backwards compatibility */ TEST_FAILURE, TEST_MEMORY_ALLOCATION_FAILURE, + TEST_SKIPPED, TEST_MAXIMUM_RETURN /* Always add new error code before */ -} test_return; +} test_return_t; struct test_st { const char *name; unsigned int requires_flush; - test_return (*function)(memcached_st *memc); + test_return_t (*function)(memcached_st *memc); }; struct collection_st {