diff -r 22644e2572bc -r 1666cbeb1db8 test/mpool_tests.h --- a/test/mpool_tests.h Sat Feb 18 18:36:30 2012 +0100 +++ b/test/mpool_tests.h Mon Feb 20 15:30:45 2012 +0100 @@ -5,15 +5,20 @@ #ifndef MPOOL_TESTS_H #define MPOOL_TESTS_H +#include "ucx/test.h" #include "ucx/mempool.h" #ifdef __cplusplus extern "C" { #endif -int mpool_tests(); - - +UCX_TEST_DECLARE(test_ucx_mempool_new) +UCX_TEST_DECLARE(test_ucx_mempool_malloc) +UCX_TEST_DECLARE(test_ucx_mempool_malloc_with_chcap) +UCX_TEST_DECLARE(test_ucx_mempool_calloc) +UCX_TEST_DECLARE(test_ucx_mempool_set_destr) +UCX_TEST_DECLARE(test_ucx_mempool_reg_destr) +UCX_TEST_DECLARE(test_ucx_mempool_realloc) #ifdef __cplusplus }