test/main.c

changeset 29
bce0d7f2912b
parent 28
1666cbeb1db8
child 31
91ac86557290
     1.1 --- a/test/main.c	Mon Feb 20 15:30:45 2012 +0100
     1.2 +++ b/test/main.c	Tue Feb 21 01:13:17 2012 +0100
     1.3 @@ -106,10 +106,11 @@
     1.4          ucx_test_register(suite, test_ucx_mempool_reg_destr);
     1.5          ucx_test_register(suite, test_ucx_mempool_realloc);
     1.6  
     1.7 -        printf("\nUcxMap Tests\n");
     1.8 -        if(map_tests()) {
     1.9 -            fprintf(stderr, "map_tests failed\n");
    1.10 -        }
    1.11 +        /* UcxMap Tests */
    1.12 +        ucx_test_register(suite, test_ucx_map_new);
    1.13 +        ucx_test_register(suite, test_ucx_key);
    1.14 +        ucx_test_register(suite, test_ucx_map_put);
    1.15 +        ucx_test_register(suite, test_ucx_map_get);
    1.16          
    1.17          ucx_test_run(suite, stdout);
    1.18          ucx_test_suite_free(suite);

mercurial