8 # export SALOME_PORT="$1"
9 #elif [ -z ${SALOME_PORT} ]; then
10 # export SALOME_PORT=2900
13 echo "Run SALOME on port ${SALOME_PORT}"
15 source ${a_dir}/env.sh
16 source ${a_dir}/env_salome.sh
20 SALOME_ARGS="-r ./test.squish/shared/testdata/SalomeApp.xml"
21 #SALOME_ARGS="${SALOME_ARGS} --port=${SALOME_PORT}"
23 echo "No --gdb-session"
24 #SALOME_ARGS="${SALOME_ARGS} --gdb-session"
26 SALOME_ARGS="${SALOME_ARGS} --ns-port-log=$(pwd)/.salomeport"
28 ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py ${SALOME_ARGS} 2>&1 >/dev/null &
32 echo "SALOME_PORT=$(cat $(pwd)/.salomeport)"
34 ${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py ${SALOME_PORT}