Hello,

I know some dislike this platform, but I wanted to report what is going
on in the gnu-texinfo github CI (https://github.com/gnu-texinfo/ci-check
Actions) for the mingw on cygwin platform.  Many checks that failed
before are not present anymore.  It could be because they do not fail
anymore, which is possible for failures related to output string
translations, or it could be that some tests are not run anymore on this
platform, maybe since files with UTF-8 characters in their name are
handled especially.

The last test in tta/tests that still failed was because /dev/null is
used.  I changed the main script to use a platform null device if TEST is
set, /dev/null is not a platform null device and /dev/null is used as
OUTFILE.  I think that this change makes sense independentely of the
mingw on cygwin platform, but I also hope that it does not break mingw
builds.

So now the mingw on cygwin checks go further, but stops at pod2texi
checks, because the number of tests are not passed from the TAP test
harness compiler (which is native Perl) to the test driver, which is
automake tap-driver.sh, awk part.  My understanding is that the native
Perl emits CRLF as end of line, being a native Windows application,
while awk called from tap-driver.sh expects LF, being a cygwin
application.  And the following regex (and the similar other) in
tap-driver.sh misses the line like '1..26' showing the number of tests,
because there is a spurious \r at the end of the line:

  else if ($0 ~ /^1\.\.[0-9]+[ \t]*$/)

This leads to the error:
 ERROR: t/Pod-Simple-Texinfo.t - missing test plan

This is an issue already encountered in tta/m4/txi_perl_conf.m4 in which
there is a workaround, but I am not sure that it is worth it having a
workaround in pod2texi checks.

I think that we can leave this as is, this platform is expected to have
issues, but I just wanted to report that there had been changes
recently.

-- 
Pat

Reply via email to