]> source.dussan.org Git - rspamd.git/commitdiff
Enable core dumps for funcutional test
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Mon, 22 Oct 2018 23:39:51 +0000 (19:39 -0400)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Mon, 22 Oct 2018 23:39:51 +0000 (19:39 -0400)
Don't run gdb yet, it requires more work and can be done when it will be
needed.

.drone.yml

index 24d4d8ec8f4a3466a388a6028cde65d4b7f218be..db058727df09663d5c41fc15ffdb5692aba38308 100644 (file)
@@ -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