From 11673097858a0469fc138908b735038109e3bf59 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Jun 2017 02:24:26 +0300 Subject: Add way to get coredumps from systemd in runtests (untested). --- tools/ci/scripts/runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/ci/scripts/runtest.sh b/tools/ci/scripts/runtest.sh index 7bcb2b518..85286d07e 100755 --- a/tools/ci/scripts/runtest.sh +++ b/tools/ci/scripts/runtest.sh @@ -9,7 +9,7 @@ function check_is_run { cp ./src/manaplus ./logs/ cp -r core* ./logs/ sleep 10s - ls + systemd-coredumpctl --output=cored ./src/manaplus || true 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