4 source ${TOOLS_DIR}/env_salome.sh
6 # kill processes of previous SALOME run
7 if [ -f .salomeport ]; then
8 SALOME_PORT=$(cat .salomeport)
9 ${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py ${SALOME_PORT}
10 pkill -f "omniNames -start ${SALOME_PORT}"
15 SALOME_ARGS="${SALOME_ARGS} -r ${SOURCES_DIR}/test.squish/shared/testdata/SalomeApp.xml"
16 SALOME_ARGS="${SALOME_ARGS} --ns-port-log=$(pwd)/.salomeport"
18 ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py ${SALOME_ARGS} >log_runSalome 2>err_runSalome
20 SALOME_PORT=$(cat .salomeport)
21 echo "Kill SALOME on port ${SALOME_PORT}"
22 ${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py ${SALOME_PORT}
23 pkill -f "omniNames -start ${SALOME_PORT}"