From: Serge Rehbinder Date: Wed, 19 Oct 2016 07:35:40 +0000 (+0200) Subject: sat test: bug fix for option --launcher X-Git-Tag: 5.0.0a1~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=febd4c53953031c8ac9a5a8d2f461239d88f4d0c;p=tools%2Fsat.git sat test: bug fix for option --launcher --- diff --git a/src/test_module.py b/src/test_module.py index 9a8dc5d..a1c5bbd 100644 --- a/src/test_module.py +++ b/src/test_module.py @@ -426,8 +426,9 @@ class Test: " done ; echo $KERNEL_ROOT_DIR" else: # New application - cmd = "echo -e 'import os\nprint os.environ[\"KERNEL_ROOT_DIR\"" - "]' > tmpscript.py; %s shell tmpscript.py" % self.launcher + cmd = ("echo -e 'import os\nprint os.environ[\"KERNEL_" + + "ROOT_DIR\"]' > tmpscript.py; %s shell" + + " tmpscript.py") % self.launcher root_dir = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True,