]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
gdb invocation nitpick 2607/head
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 23 Oct 2018 17:36:22 +0000 (13:36 -0400)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 23 Oct 2018 17:38:13 +0000 (13:38 -0400)
* pagination is disabled by --batch
* use options order like in gdb docs

.drone.yml

index 62fd982971449735d97faa60da4949dd1f59f2c0..047a9b39d72c65647037c15829fe7a35993a9c77 100644 (file)
@@ -74,7 +74,7 @@ pipeline:
       # if rspamd-test was terminated by a signal it should be SIGSEGV or SIGABRT, try to examine core
       - >
         if [ $EXIT_CODE -gt 128 ]; then
-        gdb -c /var/tmp/*.rspamd-test.core ./rspamd-test -ex "set pagination 0" -ex "thread apply all bt full" --batch;
+        gdb --batch -ex 'thread apply all bt full' -c /var/tmp/*.rspamd-test.core ./rspamd-test;
         exit $EXIT_CODE;
         fi
       # luacov-coveralls reads luacov.stats.out written by rspamd-test using luacov module