A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some tests about cbps
[simgrid.git]
/
testsuite
/
xbt
/
dynar_double.c
diff --git
a/testsuite/xbt/dynar_double.c
b/testsuite/xbt/dynar_double.c
index
68b0469
..
e5005fe
100644
(file)
--- a/
testsuite/xbt/dynar_double.c
+++ b/
testsuite/xbt/dynar_double.c
@@
-11,15
+11,13
@@
#include <stdio.h>
#include <gras.h>
#include <stdio.h>
#include <gras.h>
-void parse_log_opt(int argc, char **argv,const char *deft);
-
int main(int argc,char *argv[]) {
gras_dynar_t *d;
gras_error_t errcode;
int cpt,cursor;
double d1,d2;
int main(int argc,char *argv[]) {
gras_dynar_t *d;
gras_error_t errcode;
int cpt,cursor;
double d1,d2;
-
parse_log_opt(
argc,argv,"dynar.thresh=debug");
+
gras_init_defaultlog(&
argc,argv,"dynar.thresh=debug");
fprintf(stderr,"==== Traverse the empty dynar\n");
TRYFAIL(gras_dynar_new(&d,sizeof(int),NULL));
fprintf(stderr,"==== Traverse the empty dynar\n");
TRYFAIL(gras_dynar_new(&d,sizeof(int),NULL));
@@
-141,5
+139,6
@@
int main(int argc,char *argv[]) {
}
gras_dynar_free(d);
}
gras_dynar_free(d);
+ gras_exit();
return 0;
}
return 0;
}