X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/40334ce6fe520b2fa7d1e240716e4f34a5fdc74e..8465282253954c58d16cb5dae9a5d064eada3329:/src/mc/mc_liveness.cpp diff --git a/src/mc/mc_liveness.cpp b/src/mc/mc_liveness.cpp index 0a46c4a4a8..953f1383e5 100644 --- a/src/mc/mc_liveness.cpp +++ b/src/mc/mc_liveness.cpp @@ -18,6 +18,7 @@ #include "mc_client.h" #include "mc_replay.h" #include "mc_safety.h" +#include "mc_exit.h" extern "C" { @@ -246,11 +247,12 @@ static void MC_modelcheck_liveness_main(void) XBT_INFO("| ACCEPTANCE CYCLE |"); XBT_INFO("*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*"); XBT_INFO("Counter-example that violates formula :"); + MC_record_dump_path(mc_stack); MC_show_stack_liveness(mc_stack); MC_dump_stack_liveness(mc_stack); MC_print_statistics(mc_stats); XBT_INFO("Counter-example depth : %d", counter_example_depth); - xbt_abort(); + exit(SIMGRID_EXIT_LIVENESS); } } @@ -392,6 +394,7 @@ void MC_modelcheck_liveness(void) MC_pre_modelcheck_liveness(); /* We're done */ + XBT_INFO("No property violation found."); MC_print_statistics(mc_stats); xbt_free(mc_time); }