From 9d353e13db291e747aea5eab2e7ab5e5aea0844c Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 23 Jun 2015 15:12:30 +0900 Subject: build: Fix test failure on VPATH build * msginit-4: Don't check Project-Id-Version: field, since we can't use the project-id script when $builddir != $srcdir. --- gettext-tools/tests/ChangeLog | 6 ++++++ gettext-tools/tests/msginit-4 | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 285a91a..632568e 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,5 +1,11 @@ 2015-06-23 Daiki Ueno + * msginit-4: Don't check the Project-Id-Version: field, which + cannot be generated since we can't rely on the project-id script + when $builddir != $srcdir. + +2015-06-23 Daiki Ueno + * msginit-4: New file. * common/supplemental/plurals.xml: New data file. * Makefile.am (TESTS): Add new tests. diff --git a/gettext-tools/tests/msginit-4 b/gettext-tools/tests/msginit-4 index c0f8bb4..161914e 100755 --- a/gettext-tools/tests/msginit-4 +++ b/gettext-tools/tests/msginit-4 @@ -40,8 +40,6 @@ EOF GETTEXTLIBDIR="$top_builddir"/src GETTEXTCLDRDIR="$abs_srcdir" ${MSGINIT} -l foo --no-translator --no-wrap -o mi-test4.tmp 2>mi-test4.err test $? = 0 || { cat mi-test4.err 1>&2; exit 1; } -grep "Project-Id-Version: gt-msginit " mi-test4.tmp 2>&1 >/dev/null || exit 1 - # The charset stored in the header entry is the locale encoding of the gl_IE # locale, which is system dependent, or ASCII if the locale does not exist. # -- cgit v1.1