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
reduce the amount of damn paranoid checks in simdag. Valgrind is here to report the...
[simgrid.git]
/
teshsuite
/
simdag
/
basic6.c
diff --git
a/teshsuite/simdag/basic6.c
b/teshsuite/simdag/basic6.c
index
454725e
..
f73725d
100644
(file)
--- a/
teshsuite/simdag/basic6.c
+++ b/
teshsuite/simdag/basic6.c
@@
-32,6
+32,8
@@
int main(int argc, char **argv)
comm_cost, -1.0);
ret = SD_simulate(-1.0);
+ xbt_assert(xbt_dynar_length(ret) == 2,
+ "I was expecting the terminaison of 2 tasks, but I got %lu instead", xbt_dynar_length(ret));
xbt_dynar_free(&ret);
SD_task_destroy(taskA);
SD_task_destroy(taskB);