On Mon, Jan 28, 2019 at 3:05 PM Tom de Vries <tdevr...@suse.de> wrote: > > [ was: Re: [backtrace] Avoid segfault ] > > On 27-01-19 22:16, Tom de Vries wrote: > > +# The file b2test_buildid is an objcopy of b2test, so these programs share > > the > > +# same build-id. The first time b2test is run, there's no corresponding > > debug > > +# file at ./usr/lib/debug/.build-id/aa/bb..zz.debug. The second time > > b2test is > > +# run, the .debug file has been created for b2test_buildid, which is now > > picked > > +# up by b2test as well. > > I realized now that what I was looking at were the consequences of the > "TESTS = $(check_PROGRAMS)" setting in libbacktrace/Makefile.am, which > forces b2test to be run, even though I specify just "check_PROGRAMS += > b2test". > > This patch undoes that setting, and introduces a variable BUILDTESTS to > indicate that a test needs to be both build and run. > > OK for trunk?
This is OK. Thanks. Ian