]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
Fix bug of test command when runAppli is used.
authorSRE <serge.rehbinder@cea.fr>
Wed, 31 May 2017 14:02:57 +0000 (16:02 +0200)
committerSRE <serge.rehbinder@cea.fr>
Wed, 31 May 2017 14:02:57 +0000 (16:02 +0200)
src/test_module.py

index 7dc15fa16c1b7aeb739338c0a7ef42ae014193f7..9ad20dd0dce6b7a1722bef40f1c7a065f69a83f4 100644 (file)
@@ -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_" +