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