From 4de30ff5f24bc47e2fe95aed296206687ecfd829 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Jun 2017 15:58:37 +0300 Subject: Add pause after crash in runtest. --- tools/ci/scripts/runtest.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ci/scripts/runtest.sh b/tools/ci/scripts/runtest.sh index c6cc8adf6..7bcb2b518 100755 --- a/tools/ci/scripts/runtest.sh +++ b/tools/ci/scripts/runtest.sh @@ -8,6 +8,8 @@ function check_is_run { echo "Run with gdb" cp ./src/manaplus ./logs/ cp -r core* ./logs/ + sleep 10s + ls COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1) if [[ -f "$COREFILE" ]]; then gdb -c "$COREFILE" ./src/manaplus -ex "thread apply all bt" -ex "set pagination 0" -batch -- cgit v1.2.3-60-g2f50