Salome HOME
bug fix for test with edf appli
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 20 Oct 2016 07:39:45 +0000 (09:39 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 20 Oct 2016 07:39:45 +0000 (09:39 +0200)
src/test_module.py

index a1c5bbd5cdce3baab56173b6d2f4e8f94fdfb0cc..9fa7ee23e3e8fe4456348626bbe57bd8b6a19367 100644 (file)
@@ -513,7 +513,8 @@ class Test:
         
         # Case where SALOME has NOT the launcher that uses the SalomeContext API
         if VersionSalome < 730:
-            binSalome = os.path.join(self.config.APPLI.grid_appli_install_dir,
+            appdir_path = os.path.join(self.config.APPLICATION.workdir, appdir)
+            binSalome = os.path.join(appdir_path,
                                      appdir,
                                      "runAppli")
             binPython = "python"