[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Skip filename recoding tests on MS-Windows

From: Gavin Smith
Subject: Skip filename recoding tests on MS-Windows
Date: Sun, 23 Oct 2022 11:45:15 +0100

On Sun, Oct 23, 2022 at 10:15:30AM +0300, Eli Zaretskii wrote:
> So this is a mess on MS-Windows, and I really am at a loss how to
> solve it reliably.  I don't want to lose the ability of running the
> texi2any test suite with the native MS-Windows port, so perhaps some
> way of skipping the files with non-ASCII file names could be added,
> either automatically on MS-Windows or by some Make variable (as in
> "make check NONASCII=no")?  I presume that those files test
> capabilities that are not relevant for Windows anyway, since native
> Windows programs cannot reliably accept UTF-8 encoded command-line
> arguments.

I believe that these tests can already be skipped:


  From: Patrice Dumas
  Subject: Re: Repository has non-UTF8 names, creating issues with certain file 
  Date: Thu, 10 Mar 2022 22:41:07 +0100
  On Wed, Mar 09, 2022 at 07:44:29PM -0800, Mike Swanson wrote:
  > I suspect it should be possible to catch this error from the Perl
  > script and at least provide a warning that it was unable to create the
  > non-UTF8 file name.
  I made some change such that a test is skipped if it requires recoded
  file names and file names recoding failed.

ChangeLog entry:

2022-03-10  Patrice Dumas  <pertusus@free.fr>

        * tp/tests/Makefile.am (input_file_names_recoded_stamp.txt):
        record in the file if the recoding succeeded or failed.

        * tp/tests/run_parser_all.sh: if 'Need recoded file names'
        appears on a test line, skip the test if the recoding of
        file names failed.

        * tp/tests/run_parser_all.sh: if a prerequisite for a test is
        missing, such as not recoded file names needed, or latex2html
        or tex4ht not present, and only one test is run, return 77 to
        have the test marked as skipped instead of succeeding.

With your setup, it breaks at the very beginning, in the Makefile
rule.  It would seem to be simple to eliminate the reference to
"included_latîn1.texi" from the Makefile.  Then we have to make
sure the tests are skipped.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]