Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 8 Sep 2016 10:10:14 +0000 (12:10 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 8 Sep 2016 10:10:14 +0000 (12:10 +0200)
teshsuite/simdag/basic-link-test/basic-link-test.c
tools/tesh/tesh.py

index b7a67e0..36971c3 100644 (file)
@@ -22,7 +22,7 @@ int main(int argc, char **argv)
 
   /* creation of the environment */
   SD_create_environment(argv[1]);
-  const SD_link_t *links = sg_link_list();
+  SD_link_t *links = sg_link_list();
   int count = sg_link_count();
   XBT_INFO("Link count: %d", count);
   qsort((void *)links, count, sizeof(SD_link_t), cmp_link);
@@ -33,7 +33,7 @@ int main(int argc, char **argv)
     sg_link_data_set(links[i], (void*) user_data);
     xbt_assert(!strcmp(user_data, (const char*)sg_link_data(links[i])),"User data was corrupted.");
   }
-
+  xbt_free(links);
   SD_exit();
   return 0;
 }
index 0beb5af..8c62946 100755 (executable)
@@ -399,7 +399,7 @@ if __name__ == '__main__':
         print("Ignore all cruft seen on SimGrid's continous integration servers")
         TeshState().ignore_regexps_common = [
            re.compile("^profiling:"),
-           re.compile("WARNING: ASan doesn't fully support"),
+           re.compile(".*WARNING: ASan doesn\'t fully support"),
            re.compile("Unable to clean temporary file C:")]
     
     if options.teshfile is None: