diff options
author | Tom Tromey <tromey@redhat.com> | 1997-04-09 01:36:35 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1997-04-09 01:36:35 +0000 |
commit | aae29754a02ec3756c1af16c09a5aec4ca25eba9 (patch) | |
tree | 8f0e9d66b33b5feb17386a819a6faa1cc0ffa892 /tests | |
parent | 121c5a1bf86d7af6505d5a75d09e48c0a56060d0 (diff) | |
download | automake-aae29754a02ec3756c1af16c09a5aec4ca25eba9.tar.gz |
tests respect MAKE
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 7 | ||||
-rwxr-xr-x | tests/ansi.test | 2 | ||||
-rw-r--r-- | tests/defs | 3 | ||||
-rwxr-xr-x | tests/empty.test | 2 | ||||
-rwxr-xr-x | tests/exsource.test | 4 | ||||
-rwxr-xr-x | tests/insh2.test | 2 | ||||
-rwxr-xr-x | tests/man.test | 2 | ||||
-rwxr-xr-x | tests/mkinst2.test | 2 | ||||
-rwxr-xr-x | tests/texinfo.test | 2 | ||||
-rwxr-xr-x | tests/texinfo2.test | 2 |
10 files changed, 19 insertions, 9 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index f0da39b0d..1fe6608a2 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,10 @@ +Tue Apr 8 19:26:07 1997 Tom Tromey <tromey@cygnus.com> + + * ansi.test, empty.test, exsource.test, insh2.test, man.test, + mkinst2.test, texinfo.test, texinfo2.test: Use $MAKE. + + * defs (MAKE): Define. + Mon Apr 7 17:35:49 1997 Tom Tromey <tromey@cygnus.com> * version2.test: New file. diff --git a/tests/ansi.test b/tests/ansi.test index 7259418b5..45c1930c7 100755 --- a/tests/ansi.test +++ b/tests/ansi.test @@ -20,4 +20,4 @@ END $AUTOMAKE || exit 1 -make -s -f Makefile.in magic | grep 'ansi2knr\.c' +$MAKE -s -f Makefile.in magic | grep 'ansi2knr\.c' diff --git a/tests/defs b/tests/defs index 8062c5e6c..f208153d9 100644 --- a/tests/defs +++ b/tests/defs @@ -45,6 +45,9 @@ test -z "$VERBOSE" && { # User can set PERL to change the perl interpreter used. test -z "$PERL" && PERL=perl +# User can set MAKE to choose which make to use. Must use GNU make. +test -z "$MAKE" && MAKE=make + echo "=== Running test $0" # See how Automake should be run. We put --foreign as the default diff --git a/tests/empty.test b/tests/empty.test index 94954ad09..09ffeb75b 100755 --- a/tests/empty.test +++ b/tests/empty.test @@ -27,4 +27,4 @@ chmod +x mkinstalldirs sed -e 's/@srcdir@/./g' -e 's/@top_srcdir@/./g' -e 's/@datadir@/./g' \ < Makefile.in > Makefile -make install +$MAKE install diff --git a/tests/exsource.test b/tests/exsource.test index e01e3bf97..b4ac66548 100755 --- a/tests/exsource.test +++ b/tests/exsource.test @@ -6,7 +6,7 @@ . $srcdir/defs || exit 1 # This test relies on GNU make. -make --version > /dev/null 2>&1 || { +$MAKE --version > /dev/null 2>&1 || { # Nope. exit 0 } @@ -34,4 +34,4 @@ echo > .deps/.P echo > .deps/xtra.P echo > .deps/www.P -make -s -f Makefile.in srcdir=`pwd` magic | grep xtra +$MAKE -s -f Makefile.in srcdir=`pwd` magic | grep xtra diff --git a/tests/insh2.test b/tests/insh2.test index 217411d89..b5018da38 100755 --- a/tests/insh2.test +++ b/tests/insh2.test @@ -12,4 +12,4 @@ END $AUTOMAKE || exit 1 -make -s -f Makefile.in magic | grep install-sh +$MAKE -s -f Makefile.in magic | grep install-sh diff --git a/tests/man.test b/tests/man.test index 54a35af8c..2dd465386 100755 --- a/tests/man.test +++ b/tests/man.test @@ -21,7 +21,7 @@ chmod +x install mkdir man1 man3 man5 -make -f Makefile.in mkinstalldirs=: INSTALL_DATA=cp mandir=`pwd` \ +$MAKE -f Makefile.in mkinstalldirs=: INSTALL_DATA=cp mandir=`pwd` \ srcdir=`pwd` transform='' install-man \ || exit 1 diff --git a/tests/mkinst2.test b/tests/mkinst2.test index bda84a272..b30e46dfc 100755 --- a/tests/mkinst2.test +++ b/tests/mkinst2.test @@ -19,5 +19,5 @@ chmod +x mkinstalldirs $AUTOMAKE || exit 1 -(make -s -f Makefile.in installdirs | grep man) && exit 1 +($MAKE -s -f Makefile.in installdirs | grep man) && exit 1 exit 0 diff --git a/tests/texinfo.test b/tests/texinfo.test index 609726509..96022ff27 100755 --- a/tests/texinfo.test +++ b/tests/texinfo.test @@ -16,4 +16,4 @@ echo '@setfilename textutils.info' > textutils.texi $AUTOMAKE || exit 1 -make -s -f Makefile.in magic | grep 'texinfo\.tex' +$MAKE -s -f Makefile.in magic | grep 'texinfo\.tex' diff --git a/tests/texinfo2.test b/tests/texinfo2.test index 74e32818c..a7d9a3cd0 100755 --- a/tests/texinfo2.test +++ b/tests/texinfo2.test @@ -17,4 +17,4 @@ echo '@setfilename textutils.info' > textutils.texi $AUTOMAKE || exit 1 -test -z "`make -s -f Makefile.in magic | grep '~'`" +test -z "`$MAKE -s -f Makefile.in magic | grep '~'`" |