4 source ${TOOLS_DIR}/env_salome.sh
6 ${TOOLS_DIR}/solver.sh "$@"
8 # kill processes of previous SALOME run
9 if [ -f .salomeport ]; then
10 SALOME_PORT=$(cat .salomeport)
11 ${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py ${SALOME_PORT}
12 pkill -f "omniNames -start ${SALOME_PORT}"
17 if [[ "${SALOME_SQUISH_PREFS:-FALSE}" == "TRUE" ]]; then
18 SALOME_ARGS="${SALOME_ARGS} -r ${SOURCES_DIR}/test.squish/shared/testdata/SalomeApp.xml"
20 SALOME_ARGS="${SALOME_ARGS} --ns-port-log=$(pwd)/.salomeport"
22 ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py ${SALOME_ARGS} >log_runSalome 2>err_runSalome
24 SALOME_PORT=$(cat .salomeport)
25 echo "Kill SALOME on port ${SALOME_PORT}"
26 ${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py ${SALOME_PORT}
27 pkill -f "omniNames -start ${SALOME_PORT}"