From 5fa5b32d3106fd3710678649135d4a2004634452 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 1 Feb 2017 00:25:04 +0100 Subject: [PATCH] let the users know about config changes concerning the contextes --- src/xbt/config.cpp | 2 +- tools/tesh/tesh.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xbt/config.cpp b/src/xbt/config.cpp index d26c4ec4bb..b46ac1cff8 100644 --- a/src/xbt/config.cpp +++ b/src/xbt/config.cpp @@ -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'; - 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 { diff --git a/tools/tesh/tesh.py b/tools/tesh/tesh.py index cc4e00a0cc..756f839a20 100755 --- a/tools/tesh/tesh.py +++ b/tools/tesh/tesh.py @@ -414,7 +414,8 @@ if __name__ == '__main__': 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) -- 2.20.1