X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=salome_run.sh;h=dcbb707ceb93079b9d4aaabce511c874d0bc2731;hb=bea0049157a83f382b4557fa930425e260ee6845;hp=ce82805fa075cd3a18179f9322f5be290bfca2b7;hpb=1b93f1881c5fec599aa79707f93c84dd9c287bc0;p=modules%2Fshaper.git diff --git a/salome_run.sh b/salome_run.sh index ce82805fa..dcbb707ce 100755 --- a/salome_run.sh +++ b/salome_run.sh @@ -1,7 +1,8 @@ #!/bin/bash source env.sh -source ${TOOLS_DIR}/env_salome.sh + +${TOOLS_DIR}/solver.sh "$@" # kill processes of previous SALOME run if [ -f .salomeport ]; then @@ -12,13 +13,15 @@ if [ -f .salomeport ]; then fi SALOME_ARGS="" -SALOME_ARGS="${SALOME_ARGS} -r ./test.squish/shared/testdata/SalomeApp.xml" +if [[ "${SALOME_SQUISH_PREFS:-FALSE}" == "TRUE" ]]; then + SALOME_ARGS="${SALOME_ARGS} -r ${SOURCES_DIR}/test.squish/shared/testdata/SalomeApp.xml" +fi SALOME_ARGS="${SALOME_ARGS} --ns-port-log=$(pwd)/.salomeport" ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py ${SALOME_ARGS} >log_runSalome 2>err_runSalome -SALOME_PORT=$(cat .salomeport) -echo "Kill SALOME on port ${SALOME_PORT}" -${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py ${SALOME_PORT} -pkill -f "omniNames -start ${SALOME_PORT}" +#SALOME_PORT=$(cat .salomeport) +#echo "Kill SALOME on port ${SALOME_PORT}" +#${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py ${SALOME_PORT} +#pkill -f "omniNames -start ${SALOME_PORT}"