From 793ef2dddcd091532b7761ed165b07911cd51297 Mon Sep 17 00:00:00 2001 From: Anton Yuzhaninov Date: Mon, 22 Oct 2018 19:39:51 -0400 Subject: [PATCH] Enable core dumps for funcutional test Don't run gdb yet, it requires more work and can be done when it will be needed. --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5