Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cleanups in the --cfg options regarding model-checking
[simgrid.git] / examples / msg / mc / centralized_liveness.c
index b031038..238dd45 100644 (file)
@@ -99,15 +99,16 @@ int client(int argc, char *argv[])
 int main(int argc, char *argv[])
 {
   
-  MC_automaton_load("promela_centralized_liveness");
+  MSG_init(&argc, argv);
+
+  MSG_config("model-check/property","promela_centralized_liveness");
   MC_automaton_new_propositional_symbol("cs", &predCS);
   
-  MSG_init(&argc, argv);
   MSG_create_environment("../msg_platform.xml");
   MSG_function_register("coordinator", coordinator);
   MSG_function_register("client", client);
   MSG_launch_application("deploy_centralized_liveness.xml");
-  MSG_main_liveness();
+  MSG_main();
 
   return 0;