]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Fix test failure on VPATH build
authorDaiki Ueno <ueno@gnu.org>
Tue, 23 Jun 2015 06:12:30 +0000 (15:12 +0900)
committerDaiki Ueno <ueno@gnu.org>
Tue, 23 Jun 2015 06:12:30 +0000 (15:12 +0900)
* 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
gettext-tools/tests/msginit-4

index 285a91a1202dccdf83f94e7f7b36f0be0726480e..632568e370faae3566f83b9e05e64e5aef1c05e5 100644 (file)
@@ -1,3 +1,9 @@
+2015-06-23  Daiki Ueno  <ueno@gnu.org>
+
+       * 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  <ueno@gnu.org>
 
        * msginit-4: New file.
index c0f8bb40381bc93076da0ecadf92dd91948612c2..161914ec089106e03ef941d2022fe4c129e101b2 100755 (executable)
@@ -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.
 #