]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix spurious failure in autohdr3.test
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 2 Jun 2011 12:14:28 +0000 (14:14 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 2 Jun 2011 12:14:28 +0000 (14:14 +0200)
* tests/autohder3.test (Makefile.am): Let `test' depend on `all',
so that config.h header is truly remade.
Remove now useless call to `$MAKE' when non-GNU make is in use.

Failure introduced by commit `v1.11-895-g5e62b96'.

ChangeLog
tests/autohdr3.test

index 9735bc468e119e8ec7428f375ff33329ec84c0d8..52d81f7c52d547bc15bd4bbf5f497415538c0153 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-06-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: fix spurious failure in autohdr3.test
+       * tests/autohder3.test (Makefile.am): Let `test' depend on `all',
+       so that config.h header is truly remade.
+       Remove now useless call to `$MAKE' when non-GNU make is in use.
+       Failure introduced by commit `v1.11-895-g5e62b96'.
+
 2011-06-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        tests: fix spurious failure of cond29.test on NetBSD
index 85688da1a098d38d415a0f288865d520dd17aba3..88e3c0f7dddad20ef8d26db21adc9add5f7d7aaf 100755 (executable)
@@ -29,7 +29,7 @@ EOF
 cat > Makefile.am <<'END'
 .PHONY: test
 check-local: test
-test:
+test: all
        cat $(srcdir)/config.hin ;: For debugging.
        cat config.h             ;: Likewise.
        grep '#.*GREPME' $(srcdir)/config.hin
@@ -47,7 +47,6 @@ $MAKE
 $sleep
 echo 'AC_DEFINE([GREPME], 1, [Doc for GREPME])' > foo.m4
 
-using_gmake || $MAKE
 $MAKE test
 $MAKE distcheck