Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into hypervisor
[simgrid.git] / examples / simdag / sd_test2.c
index 7c0baabb131324e4051f95c047b2c3039e6852d6..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 style (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();