hello, On Wed, Nov 20, 2024 at 02:17:14PM -0600, G. Branden Robinson wrote: > Hi Marc, > > At 2024-11-20T15:42:26+0100, Marc Chantreux wrote: > > I saw some tests in the current codebase writen in shell but nothing > > that complies to a report system. > > I find this comment a bit puzzling.
sorry about that. I hope i didn't miss something important. > Have you performed a build of groff from source since 1.22.4 was > released in December 2018? I don't know when for the last time but I have to admit I didn't for year now. But as I consider contributing to the project, let's fix that: I started to read INSTALL and typed $ ./boostrap && ./configure # few moment later … autoreconf: Leaving directory '.' ./bootstrap: ln -fs ../gnulib/build-aux/install-sh build-aux/install-sh ./bootstrap: ln -fs ../gnulib/build-aux/depcomp build-aux/depcomp ./bootstrap: ln -fs ../gnulib/build-aux/config.guess build-aux/config.guess ./bootstrap: ln -fs ../gnulib/build-aux/config.sub build-aux/config.sub ./bootstrap: ln -fs gnulib/doc/INSTALL INSTALL ./bootstrap: done. Now you can run './configure'. checking that groff version string has valid format... invalid configure: groff's version string must start with three decimal integers separated by dots. "" does not match. I edited the configure script manually so I can run make check I'll read the doc and investigate later. > You can find out more about the framework groff uses for automated tests > at the following link. > > https://www.gnu.org/software/automake/manual/automake.html#Scripts_002dbased-Testsuites I never got that far in the automake documentation because I never felt the need to learn something as scarry (based on m4 is enough for me to run away, I'm a coward) and ignored that autotools did so many things. > Have you ever run "make check" from a groff build? I did and was just ignorant of the fact I had a standardized test report format while reading ./test-suite.log. I'm so happy to know that autotools can do TAP for me because many projects use them. It's sad that's so unknown. thank you so much: you made my day. regards, -- Marc Chantreux Pôle CESAR (Calcul et services avancés à la recherche) Université de Strasbourg 14 rue René Descartes, BP 80010, 67084 STRASBOURG CEDEX 03.68.85.60.79