diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-24 00:31:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-24 00:31:30 +0300 |
commit | 55458f743c3ff7e42288bc08033481d8464dca62 (patch) | |
tree | 662f49b6e0b2badd37ee522677296353e98a0c7a /tools | |
parent | 728d5b59772b30af50f8a96f4479de755d7504c7 (diff) | |
download | manaverse-55458f743c3ff7e42288bc08033481d8464dca62.tar.gz manaverse-55458f743c3ff7e42288bc08033481d8464dca62.tar.bz2 manaverse-55458f743c3ff7e42288bc08033481d8464dca62.tar.xz manaverse-55458f743c3ff7e42288bc08033481d8464dca62.zip |
Run manaplus in gdb if normal binary crashed in .gitlab-ci.yml
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ci/scripts/runtest.sh | 2 |
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} |