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
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
examples
/
simdag
/
dax
/
dax_test.c
diff --git
a/examples/simdag/dax/dax_test.c
b/examples/simdag/dax/dax_test.c
index
2b90da3
..
f27ba96
100644
(file)
--- a/
examples/simdag/dax/dax_test.c
+++ b/
examples/simdag/dax/dax_test.c
@@
-59,6
+59,12
@@
int main(int argc, char **argv)
/* load the DAX file */
dax = SD_daxload(argv[2]);
/* load the DAX file */
dax = SD_daxload(argv[2]);
+ if (!dax){
+ XBT_ERROR("A problem occurred during DAX parsing (cycle or syntax). Do not continue this test");
+ free(tracefilename);
+ SD_exit();
+ return -1;
+ }
/* Display all the tasks */
XBT_INFO
/* Display all the tasks */
XBT_INFO