From 55458f743c3ff7e42288bc08033481d8464dca62 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 24 Apr 2017 00:31:30 +0300 Subject: Run manaplus in gdb if normal binary crashed in .gitlab-ci.yml --- tools/ci/scripts/runtest.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/ci') 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} -- cgit v1.2.3-70-g09d2