From: SRE Date: Wed, 31 May 2017 14:02:57 +0000 (+0200) Subject: Fix bug of test command when runAppli is used. X-Git-Tag: V8_3_0rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e1705f5d2a04c417e3255c6e3c081af9ea32a0ba;p=tools%2Fsat.git Fix bug of test command when runAppli is used. --- diff --git a/src/test_module.py b/src/test_module.py index 7dc15fa..9ad20dd 100644 --- a/src/test_module.py +++ b/src/test_module.py @@ -431,8 +431,8 @@ class Test: launcherDir = os.path.dirname(self.launcher) if launcherName == 'runAppli': # Old application - cmd = "for i in " + launcherDir + "/env.d/*.sh; do source ${i};" - " done ; echo $KERNEL_ROOT_DIR" + cmd = ("for i in " + launcherDir + "/env.d/*.sh; do source ${i};" + " done ; echo $KERNEL_ROOT_DIR") else: # New application cmd = ("echo -e 'import os\nprint os.environ[\"KERNEL_" +