[PATCH 2/2] test: replace use of gdb with LD_PRELOAD shims in T070-insert.sh
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Mon Jun 24 11:22:11 PDT 2019
On Fri 2019-06-14 08:16:14 -0300, David Bremner wrote:
> Ralph Seichter <abbot at monksofcool.net> writes:
>> * Daniel Kahn Gillmor:
>>> Perhaps Ralph Seichter (explicitly cc'ed above) could comment on how
>>> it'll affect homebrew?
>> MacPorts, actually. ;-) I have not yet been able to look into this patch
>> series, but I hope to be able to do so soonish.
> Supposedly DYLD_INSERT_LIBRARIES does (did?) the same job as LD_PRELOAD,
> but there seems to some macOS specific complications.
Do you think we could go ahead and apply these patches on master now
anyway, and fix them up subsequently to make sure they apply to MacOS?
I don't know what the "MacOS specific complications" are. Can they be
spelled out in more detail? I note that
suggests that DYLD_INSERT_LIBRARIES won't work with signed binaries, but
i don't think the binaries tested during the test suite are signed
binaries, are they?
Alternately if DYLD_INSERT_LIBRARIES doesn't work, should we just skip
this test on MacOS? or have it fall back to gdb?
I'd really like to see this test suite speedup merged.
More information about the notmuch