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
coverage madness in examples
[simgrid.git]
/
examples
/
msg
/
chainsend
/
chainsend.c
diff --git
a/examples/msg/chainsend/chainsend.c
b/examples/msg/chainsend/chainsend.c
index
ce6acfa
..
51ca4d7
100644
(file)
--- a/
examples/msg/chainsend/chainsend.c
+++ b/
examples/msg/chainsend/chainsend.c
@@
-44,8
+44,6
@@
msg_error_t test_all(const char *platform_file,
msg_error_t res = MSG_OK;
msg_error_t res = MSG_OK;
-
-
XBT_DEBUG("test_all");
/* Simulation setting */
XBT_DEBUG("test_all");
/* Simulation setting */
@@
-94,8
+92,5
@@
int main(int argc, char *argv[])
_set_output_format(prev_exponent_format);
#endif
_set_output_format(prev_exponent_format);
#endif
- if (res == MSG_OK)
- return 0;
- else
- return 1;
-} /* end_of_main */
+ return res != MSG_OK;
+}