On Thu, Nov 14, 2024 at 08:03:41PM +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.

This looks good to me.

> 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.)
> 
> It does not deal with the issue of skipping such tests, though.

I am not sure that we need to skip those tests for now until we get
reports of tests failing.  Unless I missed somthing, I think that those
tests do not fail on MS-Windows, the problem was really that they left
files difficult to deal with.

-- 
Pat

Reply via email to