Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a valgrind target to the makefile, but not for the dict_crash since it takes...
[simgrid.git] / testsuite / xbt / dynar_int.c
index e65b29d..aa8b8fe 100644 (file)
@@ -19,8 +19,8 @@ int main(int argc,char *argv[]) {
    gras_error_t errcode;
    int i,cpt,cursor;
    
-   //   TRYFAIL(gras_log_control_set("root.thresh=debug dynar.thresh=info"));
-   TRYFAIL(gras_log_control_set("dynar.thresh=debug root.thresh=info"));
+   gras_init_defaultlog(&argc,argv,"dynar.thresh=debug");
+
    fprintf(stderr,"==== Traverse the empty dynar\n");
    TRYFAIL(gras_dynar_new(&d,sizeof(int),NULL));
    gras_dynar_foreach(d,cursor,i){
@@ -167,5 +167,6 @@ int main(int argc,char *argv[]) {
    }
    gras_dynar_free(d);
 
+   gras_exit();
    return 0;
 }