From: Arnaud Giersch Date: Tue, 9 Jul 2019 17:24:20 +0000 (+0200) Subject: Hide system-dependent message. X-Git-Tag: v3.24~362 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ccc29a54c4232f89ec04a60173b492bb26cb02ce Hide system-dependent message. --- diff --git a/src/mc/ModelChecker.cpp b/src/mc/ModelChecker.cpp index 3cf073e973..338c107806 100644 --- a/src/mc/ModelChecker.cpp +++ b/src/mc/ModelChecker.cpp @@ -141,10 +141,8 @@ static void MC_report_crash(int status) XBT_INFO("From signal: %s", strsignal(WTERMSIG(status))); else if (WIFEXITED(status)) XBT_INFO("From exit: %i", WEXITSTATUS(status)); - if (WCOREDUMP(status)) - XBT_INFO("A core dump was generated by the system."); - else - XBT_INFO("No core dump was generated by the system."); + if (not xbt_log_no_loc) + XBT_INFO("%s core dump was generated by the system.", WCOREDUMP(status) ? "A" : "No"); XBT_INFO("Counter-example execution trace:"); for (auto const& s : mc_model_checker->getChecker()->get_textual_trace()) XBT_INFO(" %s", s.c_str());