def test02_MultiSession(self):
print "** Testing multi sessions **"
jobs = []
- for i in range(3):
+ for i in range(9):
p = multiprocessing.Process(target=self.session, args=(["hello.py"],))
jobs.append(p)
p.start()
def test04_MultiAppli(self):
print "** Testing multi appli **"
jobs = []
- for i in range(3):
+ for i in range(9):
p = multiprocessing.Process(target=self.test03_SingleAppli)
jobs.append(p)
p.start()
if __name__ == "__main__":
path_to_launcher = os.getenv("SALOME_LAUNCHER")
if not path_to_launcher:
- msg = "Error: please set SALOME_LAUNCHER variable to the salome command of your application folder."
+ msg = "Error: please set SALOME_LAUNCHER variable to the salome command in your application folder."
raise Exception(msg)
if not os.path.isfile("hello.py"):
if __name__ == "__main__":
omniorb_user_path = os.getenv("OMNIORB_USER_PATH")
if not omniorb_user_path:
- msg = "Error: please set OMNIORB_USER_PATH variable to the salome KERNEL install folder."
+ msg = "Error: please set OMNIORB_USER_PATH variable."
raise Exception(msg)
try:
# an exception is raised if check fails. It allows users for choosing a specific folder.
# Else the function sets OMNIORB_USER_PATH this way:
# - If APPLI environment variable is set, OMNIORB_USER_PATH is set to ${APPLI}/USERS.
-# The function does not check USERS folder existence or wrute access. This folder
-# must exist ; this is the case if SALOME virtual application has been create using
+# The function does not check USERS folder existence or write access. This folder
+# must exist ; this is the case if SALOME virtual application has been created using
# appli_gen.py script.
# - Else OMNIORB_USER_PATH is set to user home directory.
def setOmniOrbUserPath():