1.1 --- a/test/mpool_tests.c Fri Aug 09 10:24:02 2013 +0200 1.2 +++ b/test/mpool_tests.c Fri Aug 09 11:32:10 2013 +0200 1.3 @@ -30,7 +30,7 @@ 1.4 1.5 #include "mpool_tests.h" 1.6 1.7 -UCX_TEST_IMPLEMENT(test_ucx_mempool_new) { 1.8 +UCX_TEST(test_ucx_mempool_new) { 1.9 UcxMempool *pool = ucx_mempool_new(16); 1.10 UCX_TEST_BEGIN 1.11 UCX_TEST_ASSERT(pool->size == 16, "wrong size"); 1.12 @@ -40,7 +40,7 @@ 1.13 ucx_mempool_destroy(pool); 1.14 } 1.15 1.16 -UCX_TEST_IMPLEMENT(test_ucx_mempool_malloc) { 1.17 +UCX_TEST(test_ucx_mempool_malloc) { 1.18 1.19 UcxMempool *pool = ucx_mempool_new(1); 1.20 UCX_TEST_BEGIN 1.21 @@ -59,7 +59,7 @@ 1.22 ucx_mempool_destroy(pool); 1.23 } 1.24 1.25 -UCX_TEST_IMPLEMENT(test_ucx_mempool_malloc_with_chcap) { 1.26 +UCX_TEST(test_ucx_mempool_malloc_with_chcap) { 1.27 1.28 UcxMempool *pool = ucx_mempool_new(1); 1.29 UCX_TEST_BEGIN 1.30 @@ -79,7 +79,7 @@ 1.31 ucx_mempool_destroy(pool); 1.32 } 1.33 1.34 -UCX_TEST_IMPLEMENT(test_ucx_mempool_calloc) { 1.35 +UCX_TEST(test_ucx_mempool_calloc) { 1.36 1.37 UcxMempool *pool = ucx_mempool_new(1); 1.38 UCX_TEST_BEGIN 1.39 @@ -93,7 +93,7 @@ 1.40 ucx_mempool_destroy(pool); 1.41 } 1.42 1.43 -UCX_TEST_IMPLEMENT(test_ucx_mempool_free) { 1.44 +UCX_TEST(test_ucx_mempool_free) { 1.45 UcxMempool *pool = ucx_mempool_new(16); 1.46 void *mem1; 1.47 void *mem2; 1.48 @@ -128,7 +128,7 @@ 1.49 *cb = 42; 1.50 } 1.51 1.52 -UCX_TEST_IMPLEMENT(test_ucx_mempool_set_destr) { 1.53 +UCX_TEST(test_ucx_mempool_set_destr) { 1.54 1.55 intptr_t *cb = (intptr_t*) malloc(sizeof(intptr_t)); 1.56 UCX_TEST_BEGIN 1.57 @@ -157,7 +157,7 @@ 1.58 } 1.59 1.60 1.61 -UCX_TEST_IMPLEMENT(test_ucx_mempool_reg_destr) { 1.62 +UCX_TEST(test_ucx_mempool_reg_destr) { 1.63 1.64 intptr_t *test = (intptr_t*) calloc(2, sizeof(intptr_t)); 1.65 intptr_t *cb = (intptr_t*) malloc(sizeof(intptr_t)); 1.66 @@ -184,7 +184,7 @@ 1.67 if (cb != NULL) free(cb); 1.68 } 1.69 1.70 -UCX_TEST_IMPLEMENT(test_ucx_mempool_realloc) { 1.71 +UCX_TEST(test_ucx_mempool_realloc) { 1.72 1.73 intptr_t *cb = (intptr_t*) malloc(sizeof(intptr_t)); 1.74 UCX_TEST_BEGIN