bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gettext-0.13 test failures


From: Bruno Haible
Subject: Re: gettext-0.13 test failures
Date: Wed, 3 Dec 2003 13:22:37 +0100
User-agent: KMail/1.5

Paul Jarc wrote:
> SKIP: xgettext-glade-1
> SKIP: xgettext-glade-2
> xgettext: Language "glade" is not supported. xgettext relies on expat.
>           This version was built without expat.
> FAIL: xgettext-glade-3
>
> Shouldn't this last one be SKIP as well?

Yes. For consistency, this test will be SKIPped when expat is not found.

> With expat:
>
> PASS: xgettext-glade-1
> 28c28
> < msgid "This <button> displays "Hello World"."
> ---
>
> > msgid "This <button> displays \"Hello World\"."
>
> FAIL: xgettext-glade-2
> 29c29
> < "document, select the character and click the "Insert Char" \n"
> ---
>
> > "document, select the character and click the \"Insert Char\" \n"
>
> FAIL: xgettext-glade-3

Thanks for reporting this. The appended patch should fix it.

> Regardless of expat:
>
> SKIP: lang-objc
> 1,2c1,2
> < «Votre commande, s'il vous plait», dit le garçon.
> < 2 morceaux de gateau
> ---
>
> > 'Your command, please?', asked the waiter.
> > 2 pieces of cake
>
> FAIL: lang-sh
> 1,2c1,2
> < «Votre commande, s'il vous plait», dit le garçon.
> < 2 morceaux de gateau
> ---
>
> > 'Your command, please?', asked the waiter.
> > 2 pieces of cake
>
> FAIL: lang-bash

If you have no French locale (fr_FR) installed, this test failure is normal.
If not, then can you find out why the test fails?

> Also, if there is ever a version 0.13.1 before 0.14, the tarball names
> will not sort properly.

For whom is this relevant? Humans can easily sort 5 or 6 tar.gz files in
order, and software should use strverscmp(), not strcmp(), to sort strings
containing version numbers.

Bruno


diff -c -3 -r1.2 xgettext-glade-2
*** xgettext-glade-2    4 Nov 2003 14:40:03 -0000       1.2
--- xgettext-glade-2    3 Dec 2003 12:15:42 -0000
***************
*** 63,69 ****
  grep -v 'POT-Creation-Date' < xg-gl-2.tmp > xg-gl-2.pot
  
  tmpfiles="$tmpfiles xg-gl-2.ok"
! cat <<EOF > xg-gl-2.ok
  # SOME DESCRIPTIVE TITLE.
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  # This file is distributed under the same license as the PACKAGE package.
--- 63,69 ----
  grep -v 'POT-Creation-Date' < xg-gl-2.tmp > xg-gl-2.pot
  
  tmpfiles="$tmpfiles xg-gl-2.ok"
! cat <<\EOF > xg-gl-2.ok
  # SOME DESCRIPTIVE TITLE.
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  # This file is distributed under the same license as the PACKAGE package.
diff -c -3 -r1.3 xgettext-glade-3
*** xgettext-glade-3    2 Dec 2003 20:51:38 -0000       1.3
--- xgettext-glade-3    3 Dec 2003 12:15:42 -0000
***************
*** 170,176 ****
  grep -v 'POT-Creation-Date' < xg-gl-3.tmp > xg-gl-3.pot
  
  tmpfiles="$tmpfiles xg-gl-3.ok"
! cat <<EOF > xg-gl-3.ok
  # SOME DESCRIPTIVE TITLE.
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  # This file is distributed under the same license as the PACKAGE package.
--- 170,176 ----
  grep -v 'POT-Creation-Date' < xg-gl-3.tmp > xg-gl-3.pot
  
  tmpfiles="$tmpfiles xg-gl-3.ok"
! cat <<\EOF > xg-gl-3.ok
  # SOME DESCRIPTIVE TITLE.
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  # This file is distributed under the same license as the PACKAGE package.





reply via email to

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