#!/bin/bash
-set +x
set +u
echo "Export SALOME from ${INST_ROOT}..."
source ${INST_ROOT}/env_products.sh
set -u
-set -x
#------ SolveSpace ------
export SOLVESPACE_ROOT_DIR=${NEWGEOM_PDIR}/solvespace-2.0
#!/bin/bash
-pushd ${SOURCES_DIR}
- source env_linux.sh
-popd
+a_dir=$(dirname $0)
+
+source ${a_dir}/env_linux.sh
# Correcting path which defined with error
export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
#!/bin/bash
-pushd ${SOURCES_DIR}
- source env_linux.sh
-popd
+a_dir=$(dirname $0)
+
+source ${a_dir}/env_linux.sh
export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
export LightAppConfig=${INSTALL_DIR}/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui
#!/bin/bash
-cd $(dirname $0)
+a_dir=$(dirname $0)
-source env.sh
-source env_standalone.sh
+source ${a_dir}/env.sh
+source ${a_dir}/env_standalone.sh
${INSTALL_DIR}/bin/GeomApp "$@"
-#!/bin/bash -ex
+#!/bin/bash -e
-source env.sh
-source env_salome.sh
+a_dir=$(dirname $0)
+
+source ${a_dir}/env.sh
+source ${a_dir}/env_salome.sh
+
+set +e -x
${KERNEL_ROOT_DIR}/bin/salome/killSalome.py
-set +e
killall SALOME_LauncherServer
killall SALOME_Session_Server
killall SALOME_ConnectionManagerServer
-set -e
+killall omniNames
-#!/bin/bash -ex
+#!/bin/bash -e
-cd $(dirname $0)
+a_dir=$(dirname $0)
if [ "$#" = 1 ]; then
export SALOME_PORT="$1"
export SALOME_PORT=2900
fi
-source env.sh
-source env_salome.sh
+echo "Run SALOME on port ${SALOME_PORT}"
-${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py ${SALOME_PORT}
-${KERNEL_ROOT_DIR}/bin/salome/runSalome.py --port=${SALOME_PORT} -r ./test.squish/shared/testdata/SalomeApp.xml
-${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py ${SALOME_PORT}
+source ${a_dir}/env.sh
+source ${a_dir}/env_salome.sh
+
+set -x +e
+
+${a_dir}/salome_kill.sh
+
+${KERNEL_ROOT_DIR}/bin/salome/runSalome.py --port=${SALOME_PORT} -r ./test.squish/shared/testdata/SalomeApp.xml 2>&1 >/dev/null
done
squishserver --config setAUTTimeout 60
squishserver --verbose --port=${SQUISHSERVER_PORT} --stop
-squishserver --verbose --port=${SQUISHSERVER_PORT} --daemon
+squishserver --verbose --port=${SQUISHSERVER_PORT} 2>server.err &
RETVAL=0
for suite in ./test.squish/suite_*