Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change most mcmini tests to odpor reduction; the unchanged one fails to find the...
[simgrid.git] / teshsuite / mc / mcmini / barber_shop_ok.c
index b0f17ca..827b8db 100644 (file)
@@ -145,8 +145,10 @@ int main(int argc, char* argv[])
     exit(-1);
   }
 
-  printf("\nSleepBarber.c\n\n");
-  printf("A solution to the sleeping barber problem using semaphores.\n");
+  if (DEBUG) {
+    printf("\nSleepBarber.c\n\n");
+    printf("A solution to the sleeping barber problem using semaphores.\n");
+  }
 
   // Initialize the random number generator with a new seed.
   srand48(RandSeed);