diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-06-16 17:42:25 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-06-16 17:43:25 +0900 |
commit | ca464fb2ae826362ae9477793dbf768f34fe4e48 (patch) | |
tree | aa22d52fbdc7156666be3fbec8df48ba44e518f7 /gettext-tools/tests/autopoint-3 | |
parent | ac9430edfd11fe8ad68705440805ea15979ed565 (diff) | |
download | external_gettext-ca464fb2ae826362ae9477793dbf768f34fe4e48.zip external_gettext-ca464fb2ae826362ae9477793dbf768f34fe4e48.tar.gz external_gettext-ca464fb2ae826362ae9477793dbf768f34fe4e48.tar.bz2 |
tests: Test "make dist" in autopoint test
* autopoint-3: Run "make dist" after "make"; add a workaround for
a bug in 0.19 and 0.19.1, where intl/ChangeLog is required but
missing in the archive.
Diffstat (limited to 'gettext-tools/tests/autopoint-3')
-rwxr-xr-x | gettext-tools/tests/autopoint-3 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3 index a026105..9b51912 100755 --- a/gettext-tools/tests/autopoint-3 +++ b/gettext-tools/tests/autopoint-3 @@ -120,6 +120,14 @@ ${CONFIG_SHELL} ./configure --with-included-gettext >/dev/null 2>/dev/null \ # intl/plural.c in that case. test -f intl/plural.c && touch intl/plural.c +# Workaround for a bug in 0.19 and 0.19.1: ChangeLog is missing in the archive. +case "$required_gettext_version" in + 0.19 | 0.19.1) + test -f intl/ChangeLog || : > intl/ChangeLog + ;; +esac + ${MAKE} >/dev/null 2>/dev/null || exit 1 +${MAKE} dist >/dev/null 2>/dev/null || exit 1 exit 0 |