1.1 --- a/test/mpool_tests.h Sat Feb 18 18:36:30 2012 +0100 1.2 +++ b/test/mpool_tests.h Mon Feb 20 15:30:45 2012 +0100 1.3 @@ -5,15 +5,20 @@ 1.4 #ifndef MPOOL_TESTS_H 1.5 #define MPOOL_TESTS_H 1.6 1.7 +#include "ucx/test.h" 1.8 #include "ucx/mempool.h" 1.9 1.10 #ifdef __cplusplus 1.11 extern "C" { 1.12 #endif 1.13 1.14 -int mpool_tests(); 1.15 - 1.16 - 1.17 +UCX_TEST_DECLARE(test_ucx_mempool_new) 1.18 +UCX_TEST_DECLARE(test_ucx_mempool_malloc) 1.19 +UCX_TEST_DECLARE(test_ucx_mempool_malloc_with_chcap) 1.20 +UCX_TEST_DECLARE(test_ucx_mempool_calloc) 1.21 +UCX_TEST_DECLARE(test_ucx_mempool_set_destr) 1.22 +UCX_TEST_DECLARE(test_ucx_mempool_reg_destr) 1.23 +UCX_TEST_DECLARE(test_ucx_mempool_realloc) 1.24 1.25 #ifdef __cplusplus 1.26 }