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 verbosity of the appveyor manual test, and fix ctest invocation
[simgrid.git]
/
examples
/
msg
/
mc
/
bugged2_liveness.c
diff --git
a/examples/msg/mc/bugged2_liveness.c
b/examples/msg/mc/bugged2_liveness.c
index
3cdb50a
..
e13dd5a
100644
(file)
--- a/
examples/msg/mc/bugged2_liveness.c
+++ b/
examples/msg/mc/bugged2_liveness.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2012-201
4
. The SimGrid Team.
+/* Copyright (c) 2012-201
5
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-19,11
+19,6
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(bugged3, "my log messages");
int cs = 0;
int cs = 0;
-int predCS(){
- return cs;
-}
-
-
int coordinator(int argc, char **argv);
int client(int argc, char **argv);
int coordinator(int argc, char **argv);
int client(int argc, char **argv);
@@
-102,8
+97,7
@@
int main(int argc, char *argv[])
MSG_init(&argc, argv);
MSG_init(&argc, argv);
- MSG_config("model-check/property","promela_bugged2_liveness");
- MC_automaton_new_propositional_symbol("cs", &predCS);
+ MC_automaton_new_propositional_symbol_pointer("cs", &cs);
MSG_create_environment("../msg_platform.xml");
MSG_function_register("coordinator", coordinator);
MSG_create_environment("../msg_platform.xml");
MSG_function_register("coordinator", coordinator);