[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext-0.14.1 test failure: format-c-5
From: |
Bruno Haible |
Subject: |
Re: gettext-0.14.1 test failure: format-c-5 |
Date: |
Fri, 30 Jan 2004 12:20:16 +0100 |
User-agent: |
KMail/1.5 |
Paul Jarc wrote:
> PASS: format-c-4
> Couldn't set locale.
> FAIL: format-c-5
> PASS: format-csharp-1
Thanks for the report. The appended patch should turn this "FAIL" into a
"SKIP", because it's a harmless failure.
> This looks like it might be a result of my configuring gettext with
> --disable-nls.
I think it's due to a not installed Iranian locale.
Bruno
*** gettext-tools/tests/format-c-5 15 Jan 2004 11:31:22 -0000 1.1
--- gettext-tools/tests/format-c-5 30 Jan 2004 11:17:12 -0000
***************
*** 45,52 ****
${DIFF} fa.po.strip fa.po.tmp || exit 1
LANGUAGE= ./fc5 fa_IR
! result=$?
rm -fr $tmpfiles
! exit $result
--- 45,56 ----
${DIFF} fa.po.strip fa.po.tmp || exit 1
LANGUAGE= ./fc5 fa_IR
! case $? in
! 0) ;;
! 77) rm -fr $tmpfiles; exit 77;;
! *) exit 1;;
! esac
rm -fr $tmpfiles
! exit 0
*** gettext-tools/tests/format-c-5-prg.c 15 Jan 2004 11:31:23 -0000
1.1
--- gettext-tools/tests/format-c-5-prg.c 30 Jan 2004 11:17:12 -0000
***************
*** 50,56 ****
if (setlocale (LC_ALL, "") == NULL)
{
fprintf (stderr, "Couldn't set locale.\n");
! exit (1);
}
textdomain ("fc5");
--- 50,56 ----
if (setlocale (LC_ALL, "") == NULL)
{
fprintf (stderr, "Couldn't set locale.\n");
! exit (77);
}
textdomain ("fc5");