> Date: Mon, 19 Jan 2026 16:43:28 +0100 > From: [email protected] > Cc: [email protected], [email protected] > > On Mon, Jan 19, 2026 at 05:05:43PM +0200, Eli Zaretskii wrote: > > And another question: when running the test suite, is it easy to > > switch between using ctexi2any and texi2any? It seems to me that just > > saying > > > > $ make check CONVERTER=texi2any > > > > one could run the test suite using the Perl implementation even if the > > package was configured with --enable-using-c-texi2any, is that right? > > No, that won't work, CONVERTER should always be texi2any. It is not > possible to set the command used for tests with make. > > The way to change temporarily the program used for the tests is to edit > tta/defs and set there, for ctexi2any: > TESTS_MAIN_COMMAND="C/ctexi2any" > for Perl texi2any.pl (actually perl/texi2any.pl), leave it empty > TESTS_MAIN_COMMAND="" > > Another possibility could be to les TESTS_MAIN_COMMAND empty in tta/defs > and edit directly tta/tests/run_parser_all.sh to changea the main_command > variable value. > > The tta/tests/test_scripts/*.sh tests are wrappers around run_parser_all.sh > selecting a directory and a test name, and there is no way to pass the > main_command to run_parser_all.sh except from tta/defs with > TESTS_MAIN_COMMAND, which is generated by configure.
OK, thanks. I will try these when the time comes. The reason I asked is if tests fail with ctexi2any, it might help repeating them with texi2any and vice versa, and rebuilding the whole package each time takes too long.
