Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'dev-add_comm_fault_scenario2' into 'master'
authorAugustin Degomme <adegomme@gmail.com>
Fri, 20 May 2022 08:24:24 +0000 (08:24 +0000)
committerAugustin Degomme <adegomme@gmail.com>
Fri, 20 May 2022 08:24:24 +0000 (08:24 +0000)
Run all comm fault scenarios now that other MRs have been accepted

See merge request simgrid/simgrid!104

teshsuite/s4u/comm-fault-scenarios/comm-fault-scenarios.cpp

index 2e4251c..cec1e2a 100644 (file)
@@ -216,7 +216,7 @@ public:
   void operator()()
   {
     run_++;
-    XBT_DEBUG("Host %i starts run %i and scenario %lu.", id_, run_, scenario_);
+    XBT_DEBUG("Host %i starts run %i and scenario %zu.", id_, run_, scenario_);
     while (scenario_ < ctx_.scenarios.size()) {
       const Scenario& s = ctx_.scenarios[scenario_];
       scenario_++;
@@ -346,7 +346,7 @@ public:
   void operator()()
   {
     run_++;
-    XBT_DEBUG("Host %i starts run %i and scenario %lu.", id_, run_, scenario_);
+    XBT_DEBUG("Host %i starts run %i and scenario %zu.", id_, run_, scenario_);
     mbox_eager->set_receiver(sg4::Actor::self());
     while (scenario_ < ctx_.scenarios.size()) {
       const Scenario& s = ctx_.scenarios[scenario_];
@@ -707,4 +707,4 @@ double build_scenarios(ScenarioContext& ctx)
 
   XBT_INFO("Will execute %i active scenarios out of %i.", ctx.active, ctx.index);
   return ctx.start_time + 1;
-}
\ No newline at end of file
+}