summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-24 00:31:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-24 00:31:30 +0300
commit55458f743c3ff7e42288bc08033481d8464dca62 (patch)
tree662f49b6e0b2badd37ee522677296353e98a0c7a /tools/ci
parent728d5b59772b30af50f8a96f4479de755d7504c7 (diff)
downloadplus-55458f743c3ff7e42288bc08033481d8464dca62.tar.gz
plus-55458f743c3ff7e42288bc08033481d8464dca62.tar.bz2
plus-55458f743c3ff7e42288bc08033481d8464dca62.tar.xz
plus-55458f743c3ff7e42288bc08033481d8464dca62.zip
Run manaplus in gdb if normal binary crashed in .gitlab-ci.yml
Diffstat (limited to 'tools/ci')
-rwxr-xr-xtools/ci/scripts/runtest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ci/scripts/runtest.sh b/tools/ci/scripts/runtest.sh
index 9862d5bf8..bfb8d370e 100755
--- a/tools/ci/scripts/runtest.sh
+++ b/tools/ci/scripts/runtest.sh
@@ -10,6 +10,8 @@ kill -0 ${PID}
if [ "$?" != 0 ]; then
echo "Error: process look like crashed"
cat logs/run.log
+ echo "Run with gdb"
+ gdb -ex=run --args ./src/manaplus
exit 1
fi
kill -s SIGTERM ${PID}