On Thu, Jan 15, 2026 at 04:58:13PM +0000, Gavin Smith wrote:
> On Thu, Jan 15, 2026 at 03:48:19PM +0200, Eli Zaretskii wrote:
> > The following two tests fail in tta/tests:
> > 
> >      FAIL: test_scripts/formatting_reuse_macro_expand_file.sh
> >      FAIL: test_scripts/coverage_formatting_latex.sh
> > 
> > The first one has its diffs say just this:
> > 
> >   -texi2any: warning: overwriting file: 
> > formatting/out_parser/reuse_macro_expand_file/simplest.info
> > 
> > IOW, this warning was expected, but was missing.  I see that this
> > warning comes from texi2any.c:merge_opened_files, but I don't know how
> > to investigate the reason(s) -- any hints?
> 
> There is a comment in that function which may explain the issue:
> 
>       # NOTE paths are not normalized, therefore different paths names
>       # that refers to the same file will not trigger the message.

It is not clear to me that this explains the issue.  The file name
crated in mingw should be the same as on other platforms.

I think that we should try to understand what is going on and fix the
test.

> We have fixed test failures to do with variant file names in messages
> before by simply stripping these messages from the output of the
> test.

Here that would not be good as the message is what is actually tested.

-- 
Pat

Reply via email to