X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=salome_run.sh;h=8feb27cac881deaa6b8c23b1fcdf268edc6aeb81;hb=758d98139d9c2adc3ed2558a90d803b681e07243;hp=b7bda749c976193d30730934195965336707fea1;hpb=868158fe6d39b25e60ac528295b1c908821e4af5;p=modules%2Fshaper.git diff --git a/salome_run.sh b/salome_run.sh index b7bda749c..8feb27cac 100755 --- a/salome_run.sh +++ b/salome_run.sh @@ -3,6 +3,8 @@ source env.sh source ${TOOLS_DIR}/env_salome.sh +${TOOLS_DIR}/solver.sh "$@" + # kill processes of previous SALOME run if [ -f .salomeport ]; then SALOME_PORT=$(cat .salomeport) @@ -12,7 +14,9 @@ if [ -f .salomeport ]; then fi SALOME_ARGS="" -SALOME_ARGS="${SALOME_ARGS} -r ${SOURCES_DIR}/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