[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext-0.13 -- 'make check' problems
From: |
Bruno Haible |
Subject: |
Re: gettext-0.13 -- 'make check' problems |
Date: |
Wed, 3 Dec 2003 20:45:29 +0100 |
User-agent: |
KMail/1.5 |
Peter Breitenlohner wrote:
> I just fetched and built the new gettext-0.13 (as usual with VPATH,
> i.e. outside the source tree).
>
> During 'make check' I got two FAIL's, here some relevant output:
>
> ........
> PASS: lang-objc
> ./prog.sh: line 5: gettext.sh: Aucun fichier ou répertoire de ce type
> FAIL: lang-sh
> ./prog.sh: line 5: gettext.sh: Aucun fichier ou répertoire de ce type
> ./prog.sh: line 12: «Votre commande, s'il vous plait», dit le garçon.:
> command not found ./prog.sh: line 1: eval_ngettext: command not found
> ./prog.sh: line 14: : command not found
> FAIL: lang-bash
Hi,
Thanks for reporting this. The appended patch fixes it.
> It looks as if these two tests are not adapted to the possibility that
> builddir and srcdir are not the same, but since the earlier tests in
> autoconf-lib-link/tests take almost infinite time I haven't checked this.
You can execute some particular tests by doing
cd gettext-tools; make check
or
cd gettext-tools/tests; make check TESTS="lang-sh lang-bash"
Bruno
*** gettext-tools/tests/Makefile.am 25 Nov 2003 11:07:27 -0000 1.36
--- gettext-tools/tests/Makefile.am 3 Dec 2003 19:42:32 -0000
***************
*** 112,118 ****
#CHECKER = valgrind --num-callers=20 --leak-check=yes --leak-resolution=high
--show-reachable=yes
TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) \
! PATH=.:../src:../../gettext-runtime/src:$$PATH \
GETTEXT="$(CHECKER) tstgettext" \
NGETTEXT="$(CHECKER) tstngettext" \
XGETTEXT="$(CHECKER) xgettext" \
--- 112,118 ----
#CHECKER = valgrind --num-callers=20 --leak-check=yes --leak-resolution=high
--show-reachable=yes
TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) \
!
PATH=.:../src:../../gettext-runtime/src:$(top_srcdir)/../gettext-runtime/src:$$PATH
\
GETTEXT="$(CHECKER) tstgettext" \
NGETTEXT="$(CHECKER) tstngettext" \
XGETTEXT="$(CHECKER) xgettext" \