Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix flatifier tesh file.
[simgrid.git] / teshsuite / simdag / platforms / flatifier.c
index 33ea064..cff8b2b 100644 (file)
@@ -1,5 +1,10 @@
+/* Copyright (c) 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 
-#ifndef WIN32
+/* 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. */
+
+#ifndef _XBT_WIN32
 #include <unistd.h>
 #endif
 
@@ -56,6 +61,7 @@ int main(int argc, char **argv)
   printf("<?xml version='1.0'?>\n");
   printf("<!DOCTYPE platform SYSTEM \"simgrid.dtd\">\n");
   printf("<platform version=\"2\">\n");
+  printf("<AS id=\"AS0\" routing=\"Full\">\n");
 
   totalHosts = SD_workstation_get_number();
   hosts = SD_workstation_get_list();
@@ -112,6 +118,7 @@ int main(int argc, char **argv)
       }
     }
   }
+  printf("</AS>\n");
   printf("</platform>\n");
   SD_exit();