aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorAnton Yuzhaninov <citrin+git@citrin.ru>2018-10-22 19:39:51 -0400
committerAnton Yuzhaninov <citrin+git@citrin.ru>2018-10-22 19:39:51 -0400
commit793ef2dddcd091532b7761ed165b07911cd51297 (patch)
treec2a20b49f2fbf56e5a235a68f872eb25dc2763e9 /.drone.yml
parent565ff219baf0c0ba5eb0b6e810fc503f93f0483a (diff)
downloadrspamd-793ef2dddcd091532b7761ed165b07911cd51297.tar.gz
rspamd-793ef2dddcd091532b7761ed165b07911cd51297.zip
Enable core dumps for funcutional test
Don't run gdb yet, it requires more work and can be done when it will be needed.
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml5
1 files changed, 4 insertions, 1 deletions
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