Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to improve coverage reports for MC tests.
[simgrid.git] / src / mc / remote / Client.cpp
index ada56e0..d357a29 100644 (file)
@@ -11,6 +11,7 @@
 #include <sys/socket.h>
 #include <sys/types.h>
 
+#include <xbt/coverage.h>
 #include <xbt/log.h>
 #include <xbt/mmalloc.h>
 #include <xbt/sysdep.h>
@@ -184,6 +185,7 @@ void Client::mainLoop()
     simgrid::mc::wait_for_requests();
     xbt_assert(channel_.send(MC_MESSAGE_WAITING) == 0, "Could not send WAITING message to model-checker");
     this->handleMessages();
+    coverage_checkpoint();
   }
 }