On Sat, Oct 26, 2024 at 10:03:35AM +0300, Eli Zaretskii wrote:
> > Cc: Gavin Smith <gavinsmith0...@gmail.com>
> > Date: Sat, 26 Oct 2024 00:03:19 +0200
> > From:  Bruno Haible via Bug reports for the GNU Texinfo documentation system
> >  <bug-texinfo@gnu.org>
> > 
> > Patrice Dumas wrote:
> > > All in all, this is already unhoped-for that we can manage to have most
> > > of the tests passing on such a broken platform!
> > 
> > I agree. *Only* 6 failures on mingw is an achievement!
> > 
> > > Those errors are expected.
> > 
> > Would you mind marking them as expected failures?
> 
> Not all of them are expected when using the MSYS tools to run the test
> suite, so marking them expected failures just because you decided to
> use Cygwin instead would be incorrect, IMO, because it might mask real
> problems uncovered by these tests.

Thanks, this makes sense to me.  As far as I understand, this "mingw" is
not a valid architecture worth supporting.  It is said to be mingw but
some cygwin programs are in use:

> Those errors are expected.  The one about /dev/null happens because the
> Perl and executable are native, while the shell is cygwin and not a
> "native" shell such as the mingw shell that would map /dev/null to the
> native NUL.  There are similar errors with path separators that are not
> mapped.  There is an unknown error that cannot really be understood from
> the error log.  The other are related to file name encoding.  My wild
> guess is that the locale of the cygwin shell is not the same as the
> locale of the native executables and Perl.

The question is, is it mingw (native Windows programs), or Cygwin?
If the answer is neither, but some mixture of the two, then my working
assumption is that it is a bogus setup not worth spending time on.

I feel it would be a mistake to hide these test failures, as it could
give someone false confidence that what they were doing was valid.

> > # Expected test failures.
> > XFAIL_TESTS =
> > if OS_IS_NATIVE_WINDOWS
> > XFAIL_TESTS += \
> >   test_scripts/formatting_split_nocopying_split_dev_null.sh \
> >   test_scripts/formatting_cpp_lines.sh \
> >   test_scripts/formatting_js_license_reuse_output_file.sh \
> >   test_scripts/formatting_reuse_macro_expand_file.sh \
> >   
> > test_scripts/encoded_verbatiminclude_names_latin1_html_explicit_encoding.sh 
> > \
> >   
> > test_scripts/encoded_verbatiminclude_names_latin1_explicit_encoding_rawtext.sh
> > endif
> 
> Sorry, I object to such changes, unless the condition could somehow be
> changed to detect only MinGW run via Cygwin Bash and Cygwin
> Coreutils/Grep/Diff etc.  The "official" way of running Posix scripts
> with MinGW ports is by using MSYS, not Cygwin, and that is what
> Texinfo should support first and foremost.

  • Texi... Gavin Smith
    • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
      • ... Gavin Smith
        • ... Gavin Smith
        • ... Gavin Smith
    • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
      • ... Patrice Dumas
        • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
          • ... Patrice Dumas
          • ... Eli Zaretskii
            • ... Gavin Smith
              • ... pertusus
              • ... Eli Zaretskii
                • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
                • ... Eli Zaretskii
                • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
                • ... Eli Zaretskii
      • ... Eli Zaretskii
    • ... Patrice Dumas
      • ... Gavin Smith
        • ... Patrice Dumas

Reply via email to