Salome HOME
projects
/
tools
/
sat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e05315
)
Fix bug of test command when runAppli is used.
author
SRE
<serge.rehbinder@cea.fr>
Wed, 31 May 2017 14:02:57 +0000
(16:02 +0200)
committer
SRE
<serge.rehbinder@cea.fr>
Wed, 31 May 2017 14:02:57 +0000
(16:02 +0200)
src/test_module.py
patch
|
blob
|
history
diff --git
a/src/test_module.py
b/src/test_module.py
index 7dc15fa16c1b7aeb739338c0a7ef42ae014193f7..9ad20dd0dce6b7a1722bef40f1c7a065f69a83f4 100644
(file)
--- 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_" +