diff options
author | Daiki Ueno <ueno@gnu.org> | 2015-06-23 15:12:30 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2015-06-23 15:12:30 +0900 |
commit | 9d353e13db291e747aea5eab2e7ab5e5aea0844c (patch) | |
tree | 0571cf2ae69656b51b90656a4c6a8278dd13a213 | |
parent | 6c392382bd75630e9f69097bbfab3a0f55ac7304 (diff) | |
download | external_gettext-9d353e13db291e747aea5eab2e7ab5e5aea0844c.zip external_gettext-9d353e13db291e747aea5eab2e7ab5e5aea0844c.tar.gz external_gettext-9d353e13db291e747aea5eab2e7ab5e5aea0844c.tar.bz2 |
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.
-rw-r--r-- | gettext-tools/tests/ChangeLog | 6 | ||||
-rwxr-xr-x | 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 <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. * 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. # |