diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-23 02:24:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-23 02:27:26 +0300 |
commit | 11673097858a0469fc138908b735038109e3bf59 (patch) | |
tree | 9178c981ef92fbfae496363ad71945f0c6af0701 /tools/ci | |
parent | 5be49738c01652b64fb9a2dc6d25e3e480184262 (diff) | |
download | plus-11673097858a0469fc138908b735038109e3bf59.tar.gz plus-11673097858a0469fc138908b735038109e3bf59.tar.bz2 plus-11673097858a0469fc138908b735038109e3bf59.tar.xz plus-11673097858a0469fc138908b735038109e3bf59.zip |
Add way to get coredumps from systemd in runtests (untested).
Diffstat (limited to 'tools/ci')
-rwxr-xr-x | tools/ci/scripts/runtest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |