summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-23 18:27:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-23 18:27:11 +0300
commitdf4566d7be8f8846eaff093065cf5103d5bf52d4 (patch)
treeee5b1190b7b0fb701d23a29bb6fcc05a40d5b49d /tools
parent6c4c0169b21937853f4892a5c75fafaf024a4314 (diff)
downloadmv-df4566d7be8f8846eaff093065cf5103d5bf52d4.tar.gz
mv-df4566d7be8f8846eaff093065cf5103d5bf52d4.tar.bz2
mv-df4566d7be8f8846eaff093065cf5103d5bf52d4.tar.xz
mv-df4566d7be8f8846eaff093065cf5103d5bf52d4.zip
Fix core dump generation in debian unstable in run tests.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/scripts/runtest.sh1
-rwxr-xr-xtools/ci/scripts/runtests.sh1
2 files changed, 1 insertions, 1 deletions
diff --git a/tools/ci/scripts/runtest.sh b/tools/ci/scripts/runtest.sh
index 85286d07e..66cf28b4c 100755
--- a/tools/ci/scripts/runtest.sh
+++ b/tools/ci/scripts/runtest.sh
@@ -9,7 +9,6 @@ function check_is_run {
cp ./src/manaplus ./logs/
cp -r core* ./logs/
sleep 10s
- 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
diff --git a/tools/ci/scripts/runtests.sh b/tools/ci/scripts/runtests.sh
index 6965f1524..b2659c134 100755
--- a/tools/ci/scripts/runtests.sh
+++ b/tools/ci/scripts/runtests.sh
@@ -9,6 +9,7 @@ export SDL_VIDEODRIVER="dummy"
ulimit -c unlimited -S
ulimit -c unlimited
rm -rf core*
+sysctl -w kernel.core_pattern=core
export HOME="logs/home"
rm -rf $HOME