X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9cc1089f9aa108b9b8b32cc42c7afca7c45dc593..266cb35285b869f282fd9df12a3d0eac48d1a146:/examples/msg/mc/bugged1_liveness.c diff --git a/examples/msg/mc/bugged1_liveness.c b/examples/msg/mc/bugged1_liveness.c index 6f74bf266d..b020037ea5 100644 --- a/examples/msg/mc/bugged1_liveness.c +++ b/examples/msg/mc/bugged1_liveness.c @@ -128,14 +128,19 @@ int main(int argc, char *argv[]) MSG_init(&argc, argv); + char **options = &argv[1]; + MSG_config("model-check/property","promela_bugged1_liveness"); MC_automaton_new_propositional_symbol("r", &predR); MC_automaton_new_propositional_symbol("cs", &predCS); + + const char* platform_file = options[0]; + const char* application_file = options[1]; - MSG_create_environment("../msg_platform.xml"); + MSG_create_environment(platform_file); MSG_function_register("coordinator", coordinator); MSG_function_register("client", client); - MSG_launch_application("deploy_bugged1_liveness.xml"); + MSG_launch_application(application_file); MSG_main(); return 0;