[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texinfo-6.0.90 pretest
Re: texinfo-6.0.90 pretest
Tue, 22 Dec 2015 15:48:10 +0100
On Tue, Dec 22, 2015 at 12:07:20PM +0000, Gavin Smith wrote:
> On 22 December 2015 at 11:08, Norbert Preining <address@hidden> wrote:
> > Sorry, again me,
> > I answer some of my questions ..
> >> test_scripts/coverage_formatting_fr.sh
> >> test_scripts/layout_formatting_fr_icons.sh
> > These two tests succeed when I make a French locale *available*
> > but not set by default.
> Maybe we need a check for the available locales so we can skip those tests.
I do not think that this would be a good idea. My view is that those
in-document strings translations have nothing to do with locales, but
with the language of the document. It is as if one didn't install the
babel french package for LaTeX if french locales were not installed.
> >> test_scripts/formatting_documentlanguage_set_option.sh
> > This error remains, and contains the following diff:
> > - Ce document a été généré <em>a sunny
> > day</em> en utilisant <a
> > href="http://www.gnu.org/software/texinfo/"><em>texi2any</em></a>
> > + This document was generated on <em>a sunny day</em> using <a
> > href="http://www.gnu.org/software/texinfo/"><em>texi2any</em></a>.
> > </font></p>
> This is a mystery. First of all, what French locales did you install?
> Was it fr_FR or fr_FR.UTF-8? (Don't know if that makes a difference,
> but I'm casting around in the dark.)
> Is there anything else in the diff? For example, when I replicate this
> error by changing the language code to "xx" in the test file:
I think that this is not really a replication of the issue. The issue
is probably along a in-document string translation file not found, or
not the correct one, maybe an old one, it is not that the language is
> > So I thought that it might be the LANG setting, so I activated the
> > LANG=fr_FR.UTF-8 and redid the checks - with the effect that tests
> > in install-info started to fail with other translation errors.
> This is easy enough to fix by setting LC_ALL=C in the test scripts to
> get all messages in English, although I wonder why this problem has
> never come up before.
This is already done like that in tp/tests/run_parser_all.sh for the tp/
And I agree that it is very strange that install-info tests start
failing now, and, for example not for me though I use a french locale.
> I also saw the following appear when I ran "svn diff":
> --- test_scripts/coverage_formatting_utf8_enable_encoding.sh (rÃ©vision
> +++ test_scripts/coverage_formatting_utf8_enable_encoding.sh (copie
> de travail)
> @@ -8,9 +8,8 @@
> -# Result is different for XS paragraph module
> -TEXINFO_XS=omit ; export TEXINFO_XS
> if test "z$LONG_TESTS" != z"yes" && test "z$ALL_TESTS" != z"yes"; then
> echo "Skipping long tests that take a lot of time to run"
> exit 77
> Apparently these test scripts are automatically generated somewhere so
> the disabling of XS has to be done somewhere else.
Indeed, those files are wrappers around tp/tests/run_parser_all.sh that
call this script with the test name as an argument. run_parser_all.sh
always uses a tests-parser.txt file with all the tests for a directory,
but can run only one file.
The files in tp/tests/test_scripts/ are generated by
Re: texinfo-6.0.90 pretest, Andreas Schwab, 2015/12/22