Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
this part was never tested (and useless IMHO), call it dead code
[simgrid.git] / teshsuite / simdag / platforms / basic_parsing_test.c
index aaffd2e..76bd393 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008-2013. The SimGrid Team.
+/* Copyright (c) 2008-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -6,14 +6,11 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include "simdag/simdag.h"
-#include "surf/surf_private.h"
-
-extern routing_platf_t routing_platf;
+#include "simgrid/simdag.h"
 
 int main(int argc, char **argv)
 {
-  /* initialisation of SD */
+  /* SD initialization */
 
   SD_workstation_t w1, w2;
   const SD_workstation_t *workstations;
@@ -87,11 +84,7 @@ int main(int argc, char **argv)
     if (!strcmp(argv[2], "PROP")) {
       printf("SG_TEST_mem: %s\n",
           SD_workstation_get_property_value(SD_workstation_get_by_name("host1"),
-          "SG_TEST_mem")
-          );
-      printf("Author: %s\n", SD_as_router_get_property_value("AS0", "author"));
-      printf("AS1: %s\n", SD_as_router_get_property_value("AS1", "name"));
-      printf("AS2: %s\n", SD_as_router_get_property_value("AS2", "name"));
+          "SG_TEST_mem"));
     }
   }