Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
245efd2
)
MPV: for automatic test scenarios:
author
mpv
<mpv@opencascade.com>
Tue, 28 Jun 2005 10:57:19 +0000
(10:57 +0000)
committer
mpv
<mpv@opencascade.com>
Tue, 28 Jun 2005 10:57:19 +0000
(10:57 +0000)
just return free port in case "-nothing" option
bin/runSalome
patch
|
blob
|
history
diff --git
a/bin/runSalome
b/bin/runSalome
index ff478c1a0eb5203420adfe35f879faeea8969d4f..178359e35ccc0caff4e5f45e8acf603091129ef6 100755
(executable)
--- a/
bin/runSalome
+++ b/
bin/runSalome
@@
-33,7
+33,9
@@
searchFreePort() {
searchFreePort
-if [ $# -ne 0 ] ; then
+if [[ "$*" == "-nothing" ]]; then
+ echo "port:$NSPORT"
+elif [ $# -ne 0 ] ; then
python -i ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py $*
else
python ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py