From: Anton Yuzhaninov Date: Mon, 22 Oct 2018 23:39:51 +0000 (-0400) Subject: Enable core dumps for funcutional test X-Git-Tag: 1.8.2~157^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=793ef2dddcd091532b7761ed165b07911cd51297;p=rspamd.git Enable core dumps for funcutional test Don't run gdb yet, it requires more work and can be done when it will be needed. --- diff --git a/.drone.yml b/.drone.yml index 24d4d8ec8..db058727d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -89,10 +89,13 @@ pipeline: group: tests commands: - cd /rspamd/build + - ulimit -c unlimited # some rspamd processes during this test work as root and some as nobody # use umask to create world-writable files so nobody can write to *.gcda files created by root - umask 0000 - - RSPAMD_INSTALLROOT=/rspamd/install robot --xunit xunit.xml --exclude isbroken $CI_WORKSPACE/test/functional/cases + - RSPAMD_INSTALLROOT=/rspamd/install robot --xunit xunit.xml --exclude isbroken $CI_WORKSPACE/test/functional/cases; EXIT_CODE=$? + - find /var/tmp/ -name '*.core' + - exit $EXIT_CODE send-coverage: image: rspamd/ci-ubuntu-test