From 98b444beb6b2b952db59129ab3f8b7ea8c093261 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 16 Feb 2001 06:16:27 +0000 Subject: [PATCH] * tests/subobj3.test: Exit with status 77 if gcc not found. * tests/pr9.test: Exit with status 77 if gzip not found. * tests/pr87.test: Exit with status 77 if gcc not found. * tests/pr19.test: Exit with status 77 if gzip or gcc not found. * tests/install2.test: Exit with status 77 if gzip not found. * tests/exsource.test: Exit with status 77 if GNU make not found. * tests/ansi3.test: Exit with status 77 if gcc not found. * tests/target-cflags.test: Require GNU make. Exit with status 77 if gcc or make not found. Fixes PR automake/121. --- ChangeLog | 11 +++++++++++ tests/ansi3.test | 2 +- tests/exsource.test | 2 +- tests/install2.test | 2 +- tests/pr19.test | 4 ++-- tests/pr87.test | 2 +- tests/pr9.test | 2 +- tests/subobj3.test | 2 +- tests/target-cflags.test | 5 ++++- 9 files changed, 23 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3c959a4d..df053b4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2001-02-15 Tom Tromey + * tests/subobj3.test: Exit with status 77 if gcc not found. + * tests/pr9.test: Exit with status 77 if gzip not found. + * tests/pr87.test: Exit with status 77 if gcc not found. + * tests/pr19.test: Exit with status 77 if gzip or gcc not found. + * tests/install2.test: Exit with status 77 if gzip not found. + * tests/exsource.test: Exit with status 77 if GNU make not found. + * tests/ansi3.test: Exit with status 77 if gcc not found. + + * tests/target-cflags.test: Require GNU make. Exit with status 77 + if gcc or make not found. Fixes PR automake/121. + * configure.in: Require Perl 5.005. * automake.in: Require 5.005. diff --git a/tests/ansi3.test b/tests/ansi3.test index 858b0094..f10b21f1 100755 --- a/tests/ansi3.test +++ b/tests/ansi3.test @@ -32,7 +32,7 @@ END $needs_autoconf # Likewise for gcc. -(gcc -v) > /dev/null 2>&1 || exit 0 +(gcc -v) > /dev/null 2>&1 || exit 77 # We use gcc and not gcc -traditional as the latter fails on some # Linux boxes (Red Hat 5.1 in particular). diff --git a/tests/exsource.test b/tests/exsource.test index cb5bed5c..7f265105 100755 --- a/tests/exsource.test +++ b/tests/exsource.test @@ -8,7 +8,7 @@ # This test relies on GNU make. $MAKE --version > /dev/null 2>&1 || { # Nope. - exit 0 + exit 77 } cat >> configure.in << 'END' diff --git a/tests/install2.test b/tests/install2.test index 9980e119..dd1aa40f 100755 --- a/tests/install2.test +++ b/tests/install2.test @@ -24,7 +24,7 @@ rm -f install-sh mkinstalldirs missing $needs_autoconf # Likewise for gzip. -(gzip --version) > /dev/null 2>&1 || exit 0 +(gzip --version) > /dev/null 2>&1 || exit 77 $ACLOCAL || exit 1 $AUTOCONF || exit 1 diff --git a/tests/pr19.test b/tests/pr19.test index 1798404d..ca622553 100755 --- a/tests/pr19.test +++ b/tests/pr19.test @@ -37,10 +37,10 @@ echo %% > foo.l $needs_autoconf # Likewise for gcc. -(gcc -v) > /dev/null 2>&1 || exit 0 +(gcc -v) > /dev/null 2>&1 || exit 77 # Likewise for gzip. -(gzip --version) > /dev/null 2>&1 || exit 0 +(gzip --version) > /dev/null 2>&1 || exit 77 $ACLOCAL || exit 1 $AUTOCONF || exit 1 diff --git a/tests/pr87.test b/tests/pr87.test index b6c25f05..a027606e 100755 --- a/tests/pr87.test +++ b/tests/pr87.test @@ -30,7 +30,7 @@ EOF $needs_autoconf # Likewise for gcc. -(gcc -v) > /dev/null 2>&1 || exit 0 +(gcc -v) > /dev/null 2>&1 || exit 77 touch README NEWS AUTHORS ChangeLog diff --git a/tests/pr9.test b/tests/pr9.test index 735a3ae1..952588a0 100755 --- a/tests/pr9.test +++ b/tests/pr9.test @@ -23,7 +23,7 @@ mkdir support $needs_autoconf # Likewise for gzip. -(gzip --version) > /dev/null 2>&1 || exit 0 +(gzip --version) > /dev/null 2>&1 || exit 77 $ACLOCAL || exit 1 diff --git a/tests/subobj3.test b/tests/subobj3.test index bfd36ebb..bdd403e0 100755 --- a/tests/subobj3.test +++ b/tests/subobj3.test @@ -40,7 +40,7 @@ END $needs_autoconf # Likewise for gcc. -(gcc -v) > /dev/null 2>&1 || exit 0 +(gcc -v) > /dev/null 2>&1 || exit 77 # We use gcc and not gcc -traditional as the latter fails on some # Linux boxes (Red Hat 5.1 in particular). diff --git a/tests/target-cflags.test b/tests/target-cflags.test index 4179a55f..5f07ba1c 100755 --- a/tests/target-cflags.test +++ b/tests/target-cflags.test @@ -41,7 +41,10 @@ END $needs_autoconf # Likewise for gcc. -(gcc -v) > /dev/null 2>&1 || exit 0 +(gcc -v) > /dev/null 2>&1 || exit 77 + +# Likewise for GNU make. +($MAKE --version) > /dev/null 2>&1 || exit 77 $ACLOCAL \ && $AUTOCONF \ -- 2.43.5