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
smooth differences between tests before merge
[simgrid.git]
/
examples
/
msg
/
ns3
/
ns3.c
diff --git
a/examples/msg/ns3/ns3.c
b/examples/msg/ns3/ns3.c
index
9d9a3f9
..
9a8df98
100644
(file)
--- a/
examples/msg/ns3/ns3.c
+++ b/
examples/msg/ns3/ns3.c
@@
-8,7
+8,6
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
-
/** @addtogroup MSG_examples
*
* @section MSG_ex_models Models-related examples
/** @addtogroup MSG_examples
*
* @section MSG_ex_models Models-related examples
@@
-126,10
+125,7
@@
static int slave(int argc, char *argv[])
timer_start = 0;
}
timer_start = 0;
}
- if (a != MSG_OK) {
- XBT_INFO("Hey?! What's up?");
- xbt_die("Unexpected behavior.");
- }
+ xbt_assert(a == MSG_OK,"Hey?! What's up? Unexpected behavior");
elapsed_time = MSG_get_clock() - start_time;
elapsed_time = MSG_get_clock() - start_time;