Hi Bruno,

At 2026-08-06T22:18:51+0200, Bruno Haible wrote:
> > I have not been in the habit of generating test scripts at
> > configuration time from '*.in' files that we ship.
> 
> That would certainly be overkill.
> 
> All that is needed is to
> 
>   1) Change the top-level Makefile.am
> 
> AM_TESTS_ENVIRONMENT = \
>   abs_top_srcdir=$(abs_top_srcdir) \
>   abs_top_builddir=$(abs_top_builddir) \
>   export abs_top_srcdir abs_top_builddir;
> 
> →
> 
> AM_TESTS_ENVIRONMENT = \
>   abs_top_srcdir=$(abs_top_srcdir) \
>   abs_top_builddir=$(abs_top_builddir) \
>   GREP=$(GREP) \
>   export abs_top_srcdir abs_top_builddir GREP;
> 
>      The configure-time finding for GREP will then be passed through
>      the environment.

Ahhhh, haaaa.  </TomBaker>

Thanks for teaching me this about Automake!

This brings the cost of change way down.

>   2) Change the 203 tests that use 'grep' to use ${GREP} instead.
>      Or ${GREP:-grep} if you want to preserve the ability to run
>      individual tests without going through 'make check'.

I do want that, and our documentation advises users to do precisely that
when troubleshooting.  Implementing will still be a heavy-hitter of a
sed-driven replacement, but as the changes would be only "inline", I
have greater confidence.

I'm leaning heavily toward doing this for 1.25.0 final.  I'll test on
the compiler farm's Solaris 11 host.  If this leads to stuff being
discardable from "NEWS" and or "PROBLEMS", I'll be a happy guy.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

    • ... G. Branden Robinson
    • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
      • ... G. Branden Robinson
  • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
  • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
  • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
  • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
  • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
    • ... G. Branden Robinson
      • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
        • ... G. Branden Robinson
          • ... Bruno Haible via discussion of the GNU roff typesetting system and related software

Reply via email to