summaryrefslogtreecommitdiff
path: root/tests/remake8a.test
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-05-02 18:05:34 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-05-03 10:36:49 +0200
commit255e7b7a585001d830e0bc4f69528ee26981103b (patch)
tree8359da0ee03d50c48bc447b80629afa9b16cecc6 /tests/remake8a.test
parent3c91fc9a36fb802e05d47308b7e0f3ecf3bcf77a (diff)
downloadautomake-255e7b7a585001d830e0bc4f69528ee26981103b.tar.gz
tests: check some remake features with non-GNU make too
* tests/acloca14.test ($required): Drop "GNUmake". This test works as-is with non-GNU make implementations. * tests/remake1a.test: Likewise. * tests/aclocal4.test ($required): Drop "GNUmake". Modify the test to have it work also with non-GNU make. * tests/remake5.test: Likewise. * tests/remake8a.test: Likewise. * tests/remake8b.test: Likewise. * tests/remake9a.test: Likewise. * tests/remake9b.test: Likewise. * tests/remake9c.test: Likewise. * tests/remake9d.test: Likewise. * tests/remake10a.test: Likewise. * tests/remake10b.test: Likewise. * tests/remake10c.test: Likewise. * tests/remake12.test: ($required): Drop "GNUmake". Adapt the test to make it work also with non-GNU make (if it supports an "include" directive).
Diffstat (limited to 'tests/remake8a.test')
-rwxr-xr-xtests/remake8a.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/remake8a.test b/tests/remake8a.test
index c625e32cd..10a6c5a4b 100755
--- a/tests/remake8a.test
+++ b/tests/remake8a.test
@@ -21,7 +21,6 @@
# Keep this in sync with sister test `remake8b.test', which performs the
# same checks for a VPATH build.
-required=GNUmake
. ./defs || Exit 1
mv -f configure.in configure.stub
@@ -71,6 +70,7 @@ check-local:
CLEANFILES = bar
END
+using_gmake || $MAKE Makefile
$MAKE
cat bar
grep '!Baz!' bar
@@ -84,7 +84,6 @@ rm -f bar
$sleep
cat > $srcdir/Makefile.am <<'END'
-all-local: quux
check-local:
cat quux
grep '!Zardoz!' quux
@@ -102,6 +101,7 @@ cat > $srcdir/quux.in <<'END'
!@QUUX@!
END
+using_gmake || $MAKE Makefile
$MAKE
cat quux
grep '!Zardoz!' quux
@@ -119,7 +119,6 @@ mkdir $srcdir/m4
cat > $srcdir/Makefile.am <<'END'
ACLOCAL_AMFLAGS = -I m4
-all-local: quux
check-local:
cat quux
grep '%Foo%' quux