19 #define ORO_MEMORY_POOL 26 if(sig_num == SIGABRT){
27 BOOST_TEST_MESSAGE(
"Catched SIGABRT. That is what is expected.");
37 rtMem = malloc(10000);
64 #if USE_MMAP || USE_SBRK 81 void* rtMem_p = malloc(15000);
101 BOOST_FAIL(
"Double free undetected");
#define BOOST_FIXTURE_TEST_SUITE(suite_name, F)
void * malloc_ex(size_t size, void *mem_pool)
void signal_handler(int sig_num)
#define BOOST_AUTO_TEST_SUITE_END()
size_t init_memory_pool(size_t mem_pool_size, void *mem_pool)
void destroy_memory_pool(void *mem_pool)
void free_ex(void *ptr, void *mem_pool)
BOOST_AUTO_TEST_CASE(testCreateAndDestroy)