On Thu, Nov 14, 2024 at 08:03:42PM +0000, Gavin Smith wrote:
> I've written a Perl program to rename a list of files provided on
> standard input, using maintain/copy_change_file_name_encoding.pl as a
> starting point (this was not as simple for me as I thought it might be,
> as both directory and ordinary files could have to be renamed).
> 
> In tests/run_parser_all.sh, the output files are listed using the
> "find" command, which are then piped to the Perl program.
> 
> With this change, the tests can be updated with "make -k check" followed
> by "make copy-tests", followed by committing the changes to the test
> results ("for f in */res_parser; do git add  $f ; done").  This 
> leads to 27 files being renamed, which therefore would not be in the
> tar distribution or tracked in git.  (This is not counting the "tex-html"
> tests some of which would also be affected.)

I've now updated all of these tests.  The tests under
tp/tests/many_input_files took longer for me to update, as they do not
use the same run_parser_all.sh test driver, and also output file names
are hard-coded in many_input_files/Makefile.am.  (I have added these tests
to a list of things to look at after the release.)

However, I have not tested the tex-html tests as I don't have all the
program installed on my computer to run them, so cannot be completely sure
I updated them correctly.  Hopefully someone else can check they work.


Reply via email to