From: spo Date: Wed, 26 Aug 2015 09:41:24 +0000 (+0300) Subject: Attach GDB to SQUISH tests X-Git-Tag: V_1.4.0_beta4~242 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2d3835ea435d81d6e7cee405d10c8f7016bcf0a8;p=modules%2Fshaper.git Attach GDB to SQUISH tests --- diff --git a/linux_run.sh b/linux_run.sh index a5a847176..ea8112eb8 100755 --- a/linux_run.sh +++ b/linux_run.sh @@ -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 diff --git a/test_squish.sh b/test_squish.sh index 0c234874c..93b6e6378 100755 --- a/test_squish.sh +++ b/test_squish.sh @@ -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 &