From: Daiki Ueno Date: Tue, 23 Jun 2015 06:12:30 +0000 (+0900) Subject: build: Fix test failure on VPATH build X-Git-Tag: v0.19.5~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d353e13db291e747aea5eab2e7ab5e5aea0844c;p=thirdparty%2Fgettext.git 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. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 285a91a12..632568e37 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/gettext-tools/tests/msginit-4 b/gettext-tools/tests/msginit-4 index c0f8bb403..161914ec0 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. #