From: Tom Tromey Date: Sun, 19 Dec 1999 09:01:02 +0000 (+0000) Subject: * pr19.test: Fail gracefully if gzip missing. X-Git-Tag: Release-1-4b~136 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=871a18b6f7b91b5cdc0097fc91abb82e40dfcad4;p=automake.git * pr19.test: Fail gracefully if gzip missing. * install2.test: Fail gracefully if gzip missing. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 88972981..4f7994fe 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +1999-12-19 Tom Tromey + + * pr19.test: Fail gracefully if gzip missing. + * install2.test: Fail gracefully if gzip missing. + 1999-12-19 Pavel Roskin * tests/defs: add all permissions to testSubDir before diff --git a/tests/install2.test b/tests/install2.test index d2fc2d3a..a3abfede 100755 --- a/tests/install2.test +++ b/tests/install2.test @@ -21,6 +21,9 @@ rm -f install-sh mkinstalldirs missing # Fail gracefully if no autoconf. (autoconf --version) > /dev/null 2>&1 || exit 0 +# Likewise for gzip. +(gzip --version) > /dev/null 2>&1 || exit 0 + $ACLOCAL || exit 1 autoconf || exit 1 $AUTOMAKE -a || exit 1 @@ -30,6 +33,5 @@ chmod 000 Makefile.am ./configure || exit 1 $MAKE dist || exit 1 -# FIXME. gunzip foo-0.1.tar.gz || exit 1 tar tf foo-0.1.tar | fgrep Makefile.am diff --git a/tests/pr19.test b/tests/pr19.test index 3714b848..ac51c43d 100755 --- a/tests/pr19.test +++ b/tests/pr19.test @@ -37,6 +37,9 @@ echo %% > foo.l # Likewise for gcc. (gcc -v) > /dev/null 2>&1 || exit 0 +# Likewise for gzip. +(gzip --version) > /dev/null 2>&1 || exit 0 + $ACLOCAL || exit 1 autoconf || exit 1 $AUTOMAKE -a || exit 1 @@ -44,7 +47,6 @@ CC=gcc ./configure || exit 1 $MAKE || exit 1 $MAKE distcheck || exit 1 -# FIXME. gunzip am_lex_bug-0.1.1.tar.gz || exit 1 tar tf am_lex_bug-0.1.1.tar | fgrep foo.c