[PATCH] tests: fix for toolchains producing compressed debug sections

Mark Wielaard mark@klomp.org
Sun Mar 28 14:01:23 GMT 2021


Hi Dmitry,

On Sun, Mar 28, 2021 at 03:46:09AM +0300, Dmitry V. Levin wrote:
> On Fri, Mar 26, 2021 at 12:12:59AM +0100, Mark Wielaard wrote:
> > Sorry, I didn't know you were already working on this.  Your version
> > does everything in debugedit.at which is nicely contained. But I think
> > doing it as configure checks might help if we need them somewhere
> > else. But you version tests the actual gcc command used in the
> > test. We probably need to use CC instead in the tests, so it equals
> > the build/target compiler.
> > 
> > What do you think of the attached patch?
> 
> It looks good, thanks.

Thanks, pushed.

> Those who want to use different CC/CFLAGS or
> LD/LDFLAGS would be able to edit tests/atlocal.in themselves.

If people regularly need to do that, then we can also adopt
TEST_CC/CFLAGS TEST_LD/LDFLAGS (which default to CC/LD/etc.) Please
yell and scream if that would be helpful to your test environment.

Cheers,

Mark


More information about the Debugedit mailing list