test: make gdb even quieter
authorDavid Bremner <david@tethera.net>
Tue, 28 Jun 2016 21:08:54 +0000 (23:08 +0200)
committerDavid Bremner <david@tethera.net>
Sun, 14 Aug 2016 04:27:57 +0000 (13:27 +0900)
commitcf8aabdd3759519ad8c56852fe03908b1b09bc03
treeec5605d0d6791b276ae9524bfe4bb32f8e3493bb
parent8fe58226ef81e9600c97675e62d4a78e0f6eeefe
test: make gdb even quieter

gdb sometimes writes warnings to stdout, which we don't need/want, and
for some reason --batch-silent isn't enough to hide. So in this commit
we write them to a log file, which is probably better for debugging
anyway. To see an illustrative test failure before this change, run

% make
% touch notmuch-count.c
% cd test && ./T060-count.sh

(cherry picked from commit f45fa5bdd397d52473f7092f7ae3e2ffb9b7aee5)
test/T060-count.sh
test/T070-insert.sh