[PATCH] test: avoid hanging older gdb under GNU timeout and moreutils parallel

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue May 21 08:50:13 PDT 2019

Hi Tomi--

On Tue 2019-05-21 09:12:12 +0300, Tomi Ollila wrote:
> This looks like a good read:
> https://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_21.html
> and is used to speculate below.

Thanks for this pointer, and for the additional analysis.

While i understand this problem much better than i did two days ago, i'm
not sure whether there is an alternate proposal here for how to handle
the situation.  Do you have a suggestion for some other fix?

It's tempting to remove the "controlling terminal" from the test suite
entirely (e.g. by running it under "setsid --wait"), but i'm reluctant
to do so because that is not the context in which most instances of
notmuch will themselves be run, and i don't really want the test suite
to be so alienated.

So i'm unsure what to do, but i do want to try to move on beyond all
this "testing the test suite" and start getting more e-mail-related
features into notmuch again :P

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20190521/7ec8f4d1/attachment.sig>

More information about the notmuch mailing list