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
13 | 1 | /* |
2 | * | |
3 | */ | |
4 | ||
5 | #ifndef MPOOL_TESTS_H | |
6 | #define MPOOL_TESTS_H | |
7 | ||
28 | 8 | #include "ucx/test.h" |
17
2e7050c3a18e
fix for ultra fail fix
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
13
diff
changeset
|
9 | #include "ucx/mempool.h" |
13 | 10 | |
11 | #ifdef __cplusplus | |
12 | extern "C" { | |
13 | #endif | |
14 | ||
28 | 15 | UCX_TEST_DECLARE(test_ucx_mempool_new) |
16 | UCX_TEST_DECLARE(test_ucx_mempool_malloc) | |
17 | UCX_TEST_DECLARE(test_ucx_mempool_malloc_with_chcap) | |
18 | UCX_TEST_DECLARE(test_ucx_mempool_calloc) | |
19 | UCX_TEST_DECLARE(test_ucx_mempool_set_destr) | |
20 | UCX_TEST_DECLARE(test_ucx_mempool_reg_destr) | |
21 | UCX_TEST_DECLARE(test_ucx_mempool_realloc) | |
13 | 22 | |
23 | #ifdef __cplusplus | |
24 | } | |
25 | #endif | |
26 | ||
27 | #endif /* MPOOL_TESTS_H */ | |
28 |