Thu, 04 Oct 2012 16:03:18 +0200
(broken-commit) - added load and store functions, tests failing
some evil crash happens when executing the test - remove the strcmp calls in the test case for the store and load function and everything "works"
the error must be somewhere else - maybe something that should not be freed is freed during the test
/* * */ #ifndef MPOOL_TESTS_H #define MPOOL_TESTS_H #include "ucx/test.h" #include "ucx/mempool.h" #ifdef __cplusplus extern "C" { #endif 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 } #endif #endif /* MPOOL_TESTS_H */