From: Akim Demaille Date: Sun, 21 Oct 2001 18:05:22 +0000 (+0000) Subject: * tests/install.test: This test is an empty shell, do not run X-Git-Tag: Release-1-5b~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4becb02dc538eb1e8ea35651f99628fe13fdaeb1;p=thirdparty%2Fautomake.git * tests/install.test: This test is an empty shell, do not run automake. * tests/Makefile.am (TESTS): Don't run it. * tests/defs (ACLOCAL): When using gettext, pass in the installed aclocaldir. * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake --add--missing. * tests/obsolete2.test: Remove, merged into... * tests/obsolete.test: here. Both aclocal and automake should complain. --- diff --git a/ChangeLog b/ChangeLog index 9d8770aaa..413c28415 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2001-10-21 Akim Demaille + + * tests/install.test: This test is an empty shell, do not run + automake. + * tests/Makefile.am (TESTS): Don't run it. + * tests/defs (ACLOCAL): When using gettext, pass in the installed + aclocaldir. + * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake + --add--missing. + * tests/obsolete2.test: Remove, merged into... + * tests/obsolete.test: here. + Both aclocal and automake should complain. + 2001-10-21 Akim Demaille * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs diff --git a/tests/Makefile.am b/tests/Makefile.am index 6c6cabef6..3ab0c6a7a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -156,7 +156,6 @@ include.test \ info.test \ insh.test \ insh2.test \ -install.test \ install2.test \ installsh.test \ instdata.test \ @@ -219,7 +218,6 @@ nolink.test \ nostdinc.test \ number.test \ obsolete.test \ -obsolete2.test \ order.test \ outdir.test \ output.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index 54ccb6af3..8fe7ff543 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -291,7 +291,6 @@ nolink.test \ nostdinc.test \ number.test \ obsolete.test \ -obsolete2.test \ order.test \ outdir.test \ output.test \ diff --git a/tests/defs b/tests/defs index de940809c..0fa37c58e 100644 --- a/tests/defs +++ b/tests/defs @@ -113,7 +113,7 @@ fi # Find them on the system. aclocaldir=`(aclocal --print-ac-dir) 2>/dev/null` case $required in - *libtool*) + *libtool* | *gettext* ) ACLOCAL="$ACLOCAL -I $aclocaldir" ;; esac diff --git a/tests/install.test b/tests/install.test index 7bc77c566..591686317 100755 --- a/tests/install.test +++ b/tests/install.test @@ -14,7 +14,7 @@ # might be required are actually included in the automake # distribution. # $ACLOCAL || exit 1 -$AUTOMAKE --gnu --add-missing > output 2>&1 && exit 1 +# $AUTOMAKE --gnu --add-missing > output 2>&1 && exit 1 # grep installing output exit 0 diff --git a/tests/obsolete.test b/tests/obsolete.test index d139124e3..f8a050515 100755 --- a/tests/obsolete.test +++ b/tests/obsolete.test @@ -10,6 +10,10 @@ END : > Makefile.am -$ACLOCAL || exit 1 -$AUTOMAKE && exit 1 +$ACLOCAL 2>stderr && exit 1 +grep AC_PROG_INSTALL stderr || exit 1 + +$AUTOMAKE 2>stderr && exit 1 +grep AC_PROG_INSTALL stderr || exit 1 + exit 0 diff --git a/tests/obsolete2.test b/tests/obsolete2.test deleted file mode 100755 index 4a65e8461..000000000 --- a/tests/obsolete2.test +++ /dev/null @@ -1,14 +0,0 @@ -#! /bin/sh - -# Test to make sure obsolete macros really are. - -. $srcdir/defs || exit 1 - -echo AM_FUNC_FNMATCH >> configure.in - -: > Makefile.am - -$ACLOCAL || exit 1 -$AUTOMAKE 2> output && exit 1 - -grep AC_FUNC_FNMATCH output diff --git a/tests/subdircond.test b/tests/subdircond.test index b7306c88d..332667d7c 100755 --- a/tests/subdircond.test +++ b/tests/subdircond.test @@ -22,4 +22,5 @@ endif END $ACLOCAL || exit 1 -$AUTOMAKE +# Gettext wants config.guess etc. +$AUTOMAKE --add-missing