test/main.c

changeset 29
bce0d7f2912b
parent 28
1666cbeb1db8
child 31
91ac86557290
equal deleted inserted replaced
28:1666cbeb1db8 29:bce0d7f2912b
104 ucx_test_register(suite, test_ucx_mempool_calloc); 104 ucx_test_register(suite, test_ucx_mempool_calloc);
105 ucx_test_register(suite, test_ucx_mempool_set_destr); 105 ucx_test_register(suite, test_ucx_mempool_set_destr);
106 ucx_test_register(suite, test_ucx_mempool_reg_destr); 106 ucx_test_register(suite, test_ucx_mempool_reg_destr);
107 ucx_test_register(suite, test_ucx_mempool_realloc); 107 ucx_test_register(suite, test_ucx_mempool_realloc);
108 108
109 printf("\nUcxMap Tests\n"); 109 /* UcxMap Tests */
110 if(map_tests()) { 110 ucx_test_register(suite, test_ucx_map_new);
111 fprintf(stderr, "map_tests failed\n"); 111 ucx_test_register(suite, test_ucx_key);
112 } 112 ucx_test_register(suite, test_ucx_map_put);
113 ucx_test_register(suite, test_ucx_map_get);
113 114
114 ucx_test_run(suite, stdout); 115 ucx_test_run(suite, stdout);
115 ucx_test_suite_free(suite); 116 ucx_test_suite_free(suite);
116 117
117 return EXIT_SUCCESS; 118 return EXIT_SUCCESS;

mercurial