Re: groff 1.25.0.rc2 on Solaris 11.4

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Message-ID <20260807022016.kjr6ocacn5rkj6wg@illithid>
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmp1QOAACgkQ0Z6cfXEm
bc4qmw/+PSjTV1vTiRDb2iv6G4HfGcIhI7utv/zXVYwTC1KYXAJpAcSsH6pvU0IW
BJKbD1HpSKeqwpHfoIeWfmxBqT4mKHkoljPR+5vYHpkApw4JZqCeDZ+AxZtv3D22
RwampvbTdsVMgmaBhVf/EnXgxIbOotpfCeYKYSNHw6SX0at5u8pg/ERUcd06fpO8
pPtJscwyTK8d6j2oTVcUnr1rU3V4ZM2e0aVry7F209GMICTKn/fwX26nwaIlnMk5
8jF5BAgmptN86I+tCzOgPfIR3q7eWEakhO9tFj0TgK1wwYtwyVgaz+JqnDOoldQd
IVLU2qX85KGrDiijsDJhFS648cU08lLFQPgcVm9Ewb+pm/gld+eExF/K2yM++AEs
nhJtd+m9jgLkmnZ5Mhm53reCfEMZWnD20vW9E8qrh6I66hX/oEB0fk2EO2b+59yH
fJ0p0OJfZFIiO2jYsf7j2vVpEcWo1TCyseTYCU2e6ZPOXPv5Deb5RnVmIHqIeNjN
+QX7DtE0s2At55QHDqCkEKqz8fIqMXQlYAiL8oJwmMMLwoFbebdVJ0RytwEMag9m
QLfcElZlRpvwkBTpC3NHW3aibNcGK0b5Jl/BUgmYIejzpaRGSpEhoq15ZA2HuMNj
E5vGPvvfx8lQNZ6DNXGtTg0XXCQi8GJYqJCcVGmV0rfqRv9C5rc=
=QhAG
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.