Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
let the users know about config changes concerning the contextes
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 31 Jan 2017 23:25:04 +0000 (00:25 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 31 Jan 2017 23:25:04 +0000 (00:25 +0100)
src/xbt/config.cpp
tools/tesh/tesh.py

index d26c4ec..b46ac1c 100644 (file)
@@ -588,7 +588,7 @@ void xbt_cfg_set_parse(const char *options)
     /* don't free(optionlist_cpy) if the assert fails, 'name' points inside it */
     *(val++) = '\0';
 
     /* don't free(optionlist_cpy) if the assert fails, 'name' points inside it */
     *(val++) = '\0';
 
-    if (strncmp(name, "contexts/", strlen("contexts/")) && strncmp(name, "path", strlen("path")))
+    if (strncmp(name, "path", strlen("path")))
       XBT_INFO("Configuration change: Set '%s' to '%s'", name, val);
 
     try {
       XBT_INFO("Configuration change: Set '%s' to '%s'", name, val);
 
     try {
index cc4e00a..756f839 100755 (executable)
@@ -414,7 +414,8 @@ if __name__ == '__main__':
         TeshState().ignore_regexps_common = [
            re.compile("^profiling:"),
            re.compile(".*WARNING: ASan doesn\'t fully support"),
         TeshState().ignore_regexps_common = [
            re.compile("^profiling:"),
            re.compile(".*WARNING: ASan doesn\'t fully support"),
-           re.compile("Unable to clean temporary file C:.*")]
+           re.compile("Unable to clean temporary file C:.*"),
+           re.compile(".*Configuration change: Set \'contexts/")]
     
     if options.teshfile is None:
         f = FileReader(None)
     
     if options.teshfile is None:
         f = FileReader(None)