From: mpv Date: Tue, 28 Jun 2005 10:57:19 +0000 (+0000) Subject: MPV: for automatic test scenarios: X-Git-Tag: T3_0_0_a4~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d6d492f8e8d8130a7ba60e45701cba3a6b7fdfdb;p=modules%2Fkernel.git MPV: for automatic test scenarios: just return free port in case "-nothing" option --- diff --git a/bin/runSalome b/bin/runSalome index ff478c1a0..178359e35 100755 --- 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