]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Attach GDB to SQUISH tests
authorspo <sergey.pokhodenko@opencascade.com>
Wed, 26 Aug 2015 09:41:24 +0000 (12:41 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Wed, 26 Aug 2015 09:42:21 +0000 (12:42 +0300)
linux_run.sh
test_squish.sh

index a5a847176a926ef913c04e350097798bc2e6b37d..ea8112eb84d9d09ebea5948fabb177134548fb73 100755 (executable)
@@ -7,4 +7,11 @@ cd ${a_dir}
 source ${a_dir}/env.sh
 source ${a_dir}/env_standalone.sh
 
-${INSTALL_DIR}/bin/GeomApp "$@"
+if [ -f GDB ]; then
+  ${INSTALL_DIR}/bin/GeomApp &
+  APP_PID=$!
+  echo "Connect GDB to PID ${APP_PID}"
+  gdb --command=commands.gdb - ${APP_PID}
+else
+  ${INSTALL_DIR}/bin/GeomApp
+fi
index 0c234874caafc9a14a2d3c711c75627d7a35edb5..93b6e637818ad221f85867fda3aa97999645909e 100755 (executable)
@@ -17,7 +17,7 @@ source ${a_dir}/env_squish.sh
 for aut in linux_run.sh salome_run.sh; do
   squishserver --config addAUT ${aut} $(pwd)
 done
-squishserver --config setAUTTimeout 60
+squishserver --config setAUTTimeout 120
 squishserver --verbose --port=${SQUISHSERVER_PORT} --stop
 squishserver --verbose --port=${SQUISHSERVER_PORT} 2>server.err &