Salome HOME
projects
/
modules
/
homard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
885f279
)
switch "salome_init() -> salome_init_without_session()" for tests parallelizing
author
DUC ANH HOANG
<duc-anh-externe.hoang@edf.fr>
Mon, 20 Feb 2023 16:46:21 +0000
(17:46 +0100)
committer
DUC ANH HOANG
<duc-anh-externe.hoang@edf.fr>
Mon, 20 Feb 2023 16:47:07 +0000
(17:47 +0100)
12 files changed:
src/tests/Test/test_1.py
patch
|
blob
|
history
src/tests/Test/test_2.py
patch
|
blob
|
history
src/tests/Test/test_3.py
patch
|
blob
|
history
src/tests/Test/test_4.py
patch
|
blob
|
history
src/tests/Test/test_5.py
patch
|
blob
|
history
src/tests/Test/test_6.py
patch
|
blob
|
history
src/tests/Test/tutorial_1.py
patch
|
blob
|
history
src/tests/Test/tutorial_2.py
patch
|
blob
|
history
src/tests/Test/tutorial_3.py
patch
|
blob
|
history
src/tests/Test/tutorial_4.py
patch
|
blob
|
history
src/tests/Test/tutorial_5.py
patch
|
blob
|
history
src/tests/Test/tutorial_6.py
patch
|
blob
|
history
diff --git
a/src/tests/Test/test_1.py
b/src/tests/Test/test_1.py
index 7fbab055f1fd3aaeb8dc0678dfc18a0d3f67ffdb..96561e6a4e86040f4bd7236f1ba0db88f584bec3 100755
(executable)
--- a/
src/tests/Test/test_1.py
+++ b/
src/tests/Test/test_1.py
@@
-46,7
+46,7
@@
from test_util import test_results
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
-salome.salome_init()
+salome.salome_init
_without_session
()
import iparameters
IPAR = iparameters.IParameters(salome.myStudy.GetCommonParameters("Interface Applicative", 1))
IPAR.append("AP_MODULES_LIST", "Homard")
import iparameters
IPAR = iparameters.IParameters(salome.myStudy.GetCommonParameters("Interface Applicative", 1))
IPAR.append("AP_MODULES_LIST", "Homard")
diff --git
a/src/tests/Test/test_2.py
b/src/tests/Test/test_2.py
index c3aeedf1b8eb3048ba3c2043856805eafe3e17ab..97c21a336b0461286fc8d455098740a29f8833ca 100755
(executable)
--- a/
src/tests/Test/test_2.py
+++ b/
src/tests/Test/test_2.py
@@
-46,7
+46,7
@@
from test_util import test_results
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
-salome.salome_init()
+salome.salome_init
_without_session
()
import iparameters
IPAR = iparameters.IParameters(salome.myStudy.GetCommonParameters("Interface Applicative", 1))
IPAR.append("AP_MODULES_LIST", "Homard")
import iparameters
IPAR = iparameters.IParameters(salome.myStudy.GetCommonParameters("Interface Applicative", 1))
IPAR.append("AP_MODULES_LIST", "Homard")
diff --git
a/src/tests/Test/test_3.py
b/src/tests/Test/test_3.py
index 725fefe04e9c6f01f3bf68e27601ed1d16c8b6a4..ed2182e9ce7ec9e29c043d63d46c4a233335fefe 100755
(executable)
--- a/
src/tests/Test/test_3.py
+++ b/
src/tests/Test/test_3.py
@@
-47,7
+47,7
@@
from test_util import test_results
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
-salome.salome_init()
+salome.salome_init
_without_session
()
import iparameters
IPAR = iparameters.IParameters(salome.myStudy.GetCommonParameters("Interface Applicative", 1))
IPAR.append("AP_MODULES_LIST", "Homard")
import iparameters
IPAR = iparameters.IParameters(salome.myStudy.GetCommonParameters("Interface Applicative", 1))
IPAR.append("AP_MODULES_LIST", "Homard")
diff --git
a/src/tests/Test/test_4.py
b/src/tests/Test/test_4.py
index 660b76c736f8fe5747967c74b82bbbfcc4297db9..86be91685c376b10d7c105e0858f1f811495b1e8 100755
(executable)
--- a/
src/tests/Test/test_4.py
+++ b/
src/tests/Test/test_4.py
@@
-56,7
+56,7
@@
DZ = 200.
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
#========================================================================
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
#========================================================================
-salome.salome_init()
+salome.salome_init
_without_session
()
#========================================================================
def create_cao_smesh ():
#========================================================================
def create_cao_smesh ():
diff --git
a/src/tests/Test/test_5.py
b/src/tests/Test/test_5.py
index 1080c11b969e6505de05cba28907d42b5fa7e295..0b197ebc561a7142307973e94903f5e8dc12dda4 100755
(executable)
--- a/
src/tests/Test/test_5.py
+++ b/
src/tests/Test/test_5.py
@@
-59,7
+59,7
@@
MESH_NAME = "MESH"
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
#========================================================================
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
#========================================================================
-salome.salome_init()
+salome.salome_init
_without_session
()
#========================================================================
def mesh_exec():
#========================================================================
def mesh_exec():
diff --git
a/src/tests/Test/test_6.py
b/src/tests/Test/test_6.py
index 4b4153eadce014160678a84be031ddf3bc9c4e6f..ce5404936dc01cadf8d29e7eb2e5c4495b0b8b1b 100755
(executable)
--- a/
src/tests/Test/test_6.py
+++ b/
src/tests/Test/test_6.py
@@
-52,7
+52,7
@@
LG_ARETE = TAILLE*2.5
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
#========================================================================
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
#========================================================================
-salome.salome_init()
+salome.salome_init
_without_session
()
#========================================================================
def create_cao_smesh ():
#========================================================================
def create_cao_smesh ():
diff --git
a/src/tests/Test/tutorial_1.py
b/src/tests/Test/tutorial_1.py
index 01647c572afc661f8700f597e565bfb0c8f1b0b5..dcafd0a27904ecca276e143aa96adcf3d57730cd 100755
(executable)
--- a/
src/tests/Test/tutorial_1.py
+++ b/
src/tests/Test/tutorial_1.py
@@
-45,7
+45,7
@@
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
#
import salome
# ==================================
#
import salome
-salome.salome_init()
+salome.salome_init
_without_session
()
import HOMARD
import iparameters
IPAR = iparameters.IParameters(salome.myStudy.GetCommonParameters("Interface Applicative", 1))
import HOMARD
import iparameters
IPAR = iparameters.IParameters(salome.myStudy.GetCommonParameters("Interface Applicative", 1))
diff --git
a/src/tests/Test/tutorial_2.py
b/src/tests/Test/tutorial_2.py
index 2c3ba6363467eb372bb36e346bd964b34c2c4656..5bc53ec51089bd06945327557f7bf56915168d43 100755
(executable)
--- a/
src/tests/Test/tutorial_2.py
+++ b/
src/tests/Test/tutorial_2.py
@@
-45,7
+45,7
@@
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
#
import salome
# ==================================
#
import salome
-salome.salome_init()
+salome.salome_init
_without_session
()
import HOMARD
#
import iparameters
import HOMARD
#
import iparameters
diff --git
a/src/tests/Test/tutorial_3.py
b/src/tests/Test/tutorial_3.py
index 89a295e3e7193ab84c84c4059f3d7047ce29a255..eed859e5d56307cff2b197683935719d46c19cd6 100755
(executable)
--- a/
src/tests/Test/tutorial_3.py
+++ b/
src/tests/Test/tutorial_3.py
@@
-45,7
+45,7
@@
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
#
import salome
# ==================================
#
import salome
-salome.salome_init()
+salome.salome_init
_without_session
()
import HOMARD
#
import iparameters
import HOMARD
#
import iparameters
diff --git
a/src/tests/Test/tutorial_4.py
b/src/tests/Test/tutorial_4.py
index 23923efb3afd15c6feed22b8432ee796c510d296..188de5b3c8730b1f79b6d93fcbb19ee2ffe63d05 100755
(executable)
--- a/
src/tests/Test/tutorial_4.py
+++ b/
src/tests/Test/tutorial_4.py
@@
-48,7
+48,7
@@
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
#
import salome
# ==================================
#
import salome
-salome.salome_init()
+salome.salome_init
_without_session
()
import HOMARD
#
import iparameters
import HOMARD
#
import iparameters
diff --git
a/src/tests/Test/tutorial_5.py
b/src/tests/Test/tutorial_5.py
index 71cc27f59d3ad731fb4848e74eea183c5e357378..38ed548b92cdce15c68c6d743b518fd4059f0d6b 100755
(executable)
--- a/
src/tests/Test/tutorial_5.py
+++ b/
src/tests/Test/tutorial_5.py
@@
-47,7
+47,7
@@
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
#
import salome
# ==================================
#
import salome
-salome.salome_init()
+salome.salome_init
_without_session
()
import HOMARD
#
import iparameters
import HOMARD
#
import iparameters
diff --git
a/src/tests/Test/tutorial_6.py
b/src/tests/Test/tutorial_6.py
index f9ae6c70c1679c43a71aec047ec837fbacb59c08..32bcef00ac739c4148c53a0f3016d5edebf27ee3 100755
(executable)
--- a/
src/tests/Test/tutorial_6.py
+++ b/
src/tests/Test/tutorial_6.py
@@
-49,7
+49,7
@@
REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG)
# ==================================
#
import salome
# ==================================
#
import salome
-salome.salome_init()
+salome.salome_init
_without_session
()
import HOMARD
#
import iparameters
import HOMARD
#
import iparameters