Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill xbt_dynar_dopar().
[simgrid.git] / teshsuite / xbt / log_large_test.c
index 4e0559d..20c4bbc 100644 (file)
@@ -6,8 +6,7 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "gras.h"
-#include "xbt/synchro.h"
+#include "xbt.h"
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logs of this example");
 
@@ -38,11 +37,10 @@ int main(int argc, char *argv[])
 
   xbt_init(&argc, argv);
 
-  INFO10("This is a very large message:\n0%s1%s2%s3%s4%s5%s6%s7%s8%s9%s", tmp,
-         tmp, tmp, tmp, tmp, tmp, tmp, tmp, tmp, tmp);
-  INFO1("Done (strlen>%d)", (int) (10 * strlen(tmp)));
+  XBT_INFO("This is a very large message:\n0%s1%s2%s3%s4%s5%s6%s7%s8%s9%s",
+         tmp, tmp, tmp, tmp, tmp, tmp, tmp, tmp, tmp, tmp);
+  XBT_INFO("Done (strlen>%d)", (int) (10 * strlen(tmp)));
   free(tmp);
 
-  xbt_exit();
   return 0;
 }