From 5bbff39c49174c0e8b758ad48114be4cd5ef6836 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Tue, 18 Mar 2014 11:16:06 +0100 Subject: [PATCH] [minor] changes in information messages --- .../tests/concurrentSession/TestConcurrentSession.py | 6 +++--- bin/appliskel/tests/concurrentSession/TestMinimalExample.py | 2 +- bin/salomeContextUtils.py.in | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/appliskel/tests/concurrentSession/TestConcurrentSession.py b/bin/appliskel/tests/concurrentSession/TestConcurrentSession.py index 5f8376a08..1384b21e6 100644 --- a/bin/appliskel/tests/concurrentSession/TestConcurrentSession.py +++ b/bin/appliskel/tests/concurrentSession/TestConcurrentSession.py @@ -54,7 +54,7 @@ class TestConcurrentLaunch(unittest.TestCase): 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() @@ -77,7 +77,7 @@ class TestConcurrentLaunch(unittest.TestCase): 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() @@ -90,7 +90,7 @@ class TestConcurrentLaunch(unittest.TestCase): 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"): diff --git a/bin/appliskel/tests/concurrentSession/TestMinimalExample.py b/bin/appliskel/tests/concurrentSession/TestMinimalExample.py index b740cdd00..7525e4f1b 100644 --- a/bin/appliskel/tests/concurrentSession/TestMinimalExample.py +++ b/bin/appliskel/tests/concurrentSession/TestMinimalExample.py @@ -139,7 +139,7 @@ class TestMinimalExample(unittest.TestCase): 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: diff --git a/bin/salomeContextUtils.py.in b/bin/salomeContextUtils.py.in index 696a99b4f..3f517dcf7 100644 --- a/bin/salomeContextUtils.py.in +++ b/bin/salomeContextUtils.py.in @@ -196,8 +196,8 @@ def formatScriptsAndArgs(scriptArgs=[]): # 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(): -- 2.39.2