On Sun, Oct 08, 2023 at 04:55:24PM +0300, Eli Zaretskii wrote: > > Date: Sun, 08 Oct 2023 16:42:05 +0300 > > From: Eli Zaretskii <e...@gnu.org> > > CC: bug-texinfo@gnu.org > > > > The next set of problems is in install-info: the new code in this > > version fails to close files, and then Windows doesn't let us > > remove/rename them. The result is that almost all the install-info > > tests fail with Permission denied. The patch below fixes that: > > Finally, 8 tests in tp/tests fail: > > test_scripts/coverage_formatting_info.sh > test_scripts/coverage_formatting_plaintext.sh > test_scripts/layout_formatting_info_ascii_punctuation.sh > test_scripts/layout_formatting_info_disable_encoding.sh > test_scripts/layout_formatting_plaintext_ascii_punctuation.sh > test_scripts/layout_formatting_fr.sh > test_scripts/layout_formatting_fr_info.sh > test_scripts/layout_formatting_fr_icons.sh > > I don't think I understand how to debug this. I tried to look at the > output and log files, but either I look at the wrong files or I > misunderstand how to interpret them. Any help and advice will be > appreciated.
First change to the tp/tests subdirectory. Then run the test script. For example: test_scripts/coverage_formatting_info.sh This prints the texi2any command run, and if there are unexpected results these should be printed too. On my system, here is what is printed for that test: testdir: coverage/ driving_file: ./coverage//list-of-tests made result dir: ./coverage//res_parser/ doing test formatting_info, src_file ./coverage//formatting.texi format_option: texi2any.pl formatting_info -> coverage//out_parser/formatting_info /usr/bin/perl -w ./..//texi2any.pl --force --conf-dir ./../t/init/ --conf-dir ./../init --conf-dir ./../ext -I ./coverage/ -I coverage// -I ./ -I . -I built_input --error-limit=1000 -c TEST=1 --output coverage//out_parser/formatting_info/ -D 'needcollationcompat Need collation compatibility' --info ./coverage//formatting.texi > coverage//out_parser/formatting_info/formatting.1 2>coverage//out_parser/formatting_info/formatting.2 all done, exiting with status 0 If any of the output files or standard output or error differered from what was expected, this would be printed as a diff afterwards.