diff options
| author | David Bremner <david@tethera.net> | 2016-06-28 23:08:54 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-08-09 09:33:59 +0900 |
| commit | f45fa5bdd397d52473f7092f7ae3e2ffb9b7aee5 (patch) | |
| tree | 9a0ec9826e02a78915e6bb8fc8618e0e9267d728 /test/T070-insert.sh | |
| parent | 2a7b11b064233afc4feead876fa396e3c18a6b91 (diff) | |
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
Diffstat (limited to 'test/T070-insert.sh')
| -rwxr-xr-x | test/T070-insert.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/T070-insert.sh b/test/T070-insert.sh index e7ec6a6c..c2485bb2 100755 --- a/test/T070-insert.sh +++ b/test/T070-insert.sh @@ -192,6 +192,8 @@ for code in OUT_OF_MEMORY XAPIAN_EXCEPTION FILE_NOT_EMAIL \ gen_insert_msg cat <<EOF > index-file-$code.gdb set breakpoint pending on +set logging file index-file-$code.log +set logging on break notmuch_database_add_message commands return NOTMUCH_STATUS_$code |
