[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS gettext: many test failures
From: |
Bruno Haible |
Subject: |
Re: CVS gettext: many test failures |
Date: |
Sat, 16 Dec 2006 17:09:12 +0100 |
User-agent: |
KMail/1.9.1 |
Thank you Ralf for signalling these test failures. It's always good to
catch them as early as possible, and we don't have a buildbot for gettext.
Ralf Wildenhues wrote:
> With that PATH change, only one test failure remains:
>
> $ make check TESTS=msgcat-15
> make check-TESTS
> make[1]: Entering directory `/tmp/build/gettext-tools/tests'
> 1,4c1,4
> < msgid ""
> < msgstr "Report-Msgid-Bugs-To: \n"
> < "Content-Type: text/plain; charset=UTF-8\n"
> < "Content-Transfer-Encoding: 8bit\n"
> ---
> > msgid ""
> > msgstr "Report-Msgid-Bugs-To: \n"
> > "Content-Type: text/plain; charset=UTF-8\n"
> > "Content-Transfer-Encoding: 8bit\n"
This one is normal: "msgcat --indent" is changed to use spaces now instead of
tabs, for intentation.
> ma-test1.po:2:1: syntax error
> msgattrib: found 1 fatal error
> FAIL: msgattrib-1
This one suggests the PO parser is not correctly built. One possible reason
is a change in message.h that would require some .o files to be rebuilt.
If after "make clean; make" the tests pass, it was that. If not, then my
guess is that the files
gettext-tools/src/po-gram-gen.h
gettext-tools/src/po-gram-gen2.h
gettext-tools/src/po-gram-gen.c
are out of sync. This happened to me once or twice too. For fixing this
in gettext-tools/src/Makefile.am I'd need to know the precise situation,
i.e.
- are you using a VPATH build?
- what are the timestamps of
gettext-tools/src/po-gram-gen.y
gettext-tools/src/po-gram-gen.h
gettext-tools/src/po-gram-gen2.h
gettext-tools/src/po-gram-gen.c
in the build directory and in the source directory?
Bruno
- CVS gettext: many test failures, Ralf Wildenhues, 2006/12/16
- Re: CVS gettext: many test failures,
Bruno Haible <=
- Re: CVS gettext: many test failures, Ralf Wildenhues, 2006/12/18
- Re: CVS gettext: many test failures, Bruno Haible, 2006/12/20
- Re: CVS gettext: many test failures, Ralf Wildenhues, 2006/12/20
- Re: CVS gettext: many test failures, Bruno Haible, 2006/12/20
- Re: CVS gettext: many test failures, Ralf Wildenhues, 2006/12/20
- Re: CVS gettext: many test failures, Ralf Wildenhues, 2006/12/20