Salome HOME
Update SQUISH tests
[modules/shaper.git] / salome_run.sh
1 #!/bin/bash -ex
2
3 cd $(dirname $0)
4
5 if [ "$#" = 1 ]; then
6   export SALOME_PORT="$1"
7 elif [ -z ${SALOME_PORT} ]; then
8   export SALOME_PORT=2900
9 fi
10
11 source env.sh
12 source env_salome.sh
13
14 ${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py ${SALOME_PORT}
15 ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py --port=${SALOME_PORT} -r ./test.squish/shared/testdata/SalomeApp.xml
16 ${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py ${SALOME_PORT}