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
make this tests pass
[simgrid.git]
/
examples
/
simdag
/
dot
/
dot_test2.c
diff --git
a/examples/simdag/dot/dot_test2.c
b/examples/simdag/dot/dot_test2.c
index
4a5af63
..
c2457f2
100644
(file)
--- a/
examples/simdag/dot/dot_test2.c
+++ b/
examples/simdag/dot/dot_test2.c
@@
-12,7
+12,6
@@
#include "xbt/log.h"
#include "xbt/ex.h"
#include <string.h>
#include "xbt/log.h"
#include "xbt/ex.h"
#include <string.h>
-#define HAVE_JEDULE 0
XBT_LOG_NEW_DEFAULT_CATEGORY(test,
"Logging specific to this SimDag example");
XBT_LOG_NEW_DEFAULT_CATEGORY(test,
"Logging specific to this SimDag example");
@@
-50,6
+49,10
@@
int main(int argc, char **argv)
("----------------------------- dump tasks again ------------------------------------");
while ((task=dot_as_array[cursor++])){
SD_task_dump(task);
("----------------------------- dump tasks again ------------------------------------");
while ((task=dot_as_array[cursor++])){
SD_task_dump(task);
+ }
+
+ cursor=0;
+ while ((task=dot_as_array[cursor++])){
SD_task_destroy(task);
}
SD_task_destroy(task);
}