Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor
[simgrid.git] / examples / simdag / sd_test2.c
index 8e15509c13d2770391618c921ac50dcff8b5ab91..acab4c8d4589ba78917e99e6b481159f422da0b1 100644 (file)
@@ -64,11 +64,8 @@ int main(int argc, char **argv)
   if (strstr(argv[1],".xml"))
     SD_create_environment(argv[1]);
   else
-    if (strstr(argv[1],".lua"))
-      SD_load_environment_script(argv[1]);
-    else
-      xbt_die("Unsupported platform description styel (neither XML nor lua): %s",
-              argv[1]);
+    xbt_die("Unsupported platform description style (not XML): %s",
+            argv[1]);
 
   /* getting platform infos */
   n_hosts = SD_workstation_get_number();