From e7a2f02565c42b4f7e6950b817756281f9735f3f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 10 Jan 1999 18:00:33 +0000 Subject: [PATCH] * all.test: Test all *-local targets, not just all-local. --- tests/ChangeLog | 2 ++ tests/all.test | 15 ++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/tests/ChangeLog b/tests/ChangeLog index 542c0367..29f65948 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,7 @@ 1999-01-10 Tom Tromey + * all.test: Test all *-local targets, not just all-local. + * all.test: New file. * Makefile.am (TESTS): Added all.test. diff --git a/tests/all.test b/tests/all.test index a5206cfd..61e12928 100755 --- a/tests/all.test +++ b/tests/all.test @@ -1,14 +1,15 @@ #! /bin/sh -# Test to make sure all-local works correctly. +# Test to make sure all-local and other -local targets work correctly. . $srcdir/defs || exit 1 -cat > Makefile.am << 'END' -all-local: - @echo foo -END +for target in all install-exec install-data uninstall; do + echo "Doing $target" + echo "${target}-local:" > Makefile.am -$AUTOMAKE || exit 1 -grep 'all-local all-local' Makefile.in && exit 1 + $AUTOMAKE || exit 1 + + fgrep "${target}-local ${target}-local" Makefile.in && exit 1 +done exit 0 -- 2.43.5