]> sourceware.org Git - automake.git/commitdiff
For PR automake/175:
authorTom Tromey <tromey@redhat.com>
Thu, 17 May 2001 03:14:23 +0000 (03:14 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 17 May 2001 03:14:23 +0000 (03:14 +0000)
* tests/Makefile.am (XFAIL_TESTS): Added make.test.
* tests/make.test: Run test with `make -w'.

ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/make.test

index 74a0445cf84e10d0c2e3ff5ab794831a64fd6bee..ef2772ee6d2de7113bc420d9a6838278936750fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2001-05-16  Tom Tromey  <tromey@redhat.com>
 
+       For PR automake/175:
+       * tests/Makefile.am (XFAIL_TESTS): Added make.test.
+       * tests/make.test: Run test with `make -w'.
+
        * tests/Makefile.am (TESTS): Removed maintclean.test.
        * lib/am/clean.am (maintainer-clean-generic): Don't remove
        Makefile.in.
index 2232fcbffd1cb06450137f329684b57c3e834a76..302304dd4dc148b97c51b3fae51a5c2313172762 100644 (file)
@@ -2,7 +2,7 @@
 
 AUTOMAKE_OPTIONS = gnits
 
-XFAIL_TESTS = subdir5.test
+XFAIL_TESTS = subdir5.test make.test
 
 TESTS =        \
 acinclude.test \
index 96a208700bb8705faaa2d884e99fd93902f16524..78ef0fc4ffe01d7b7f4d1ce5e1565cc3d7177070 100644 (file)
@@ -70,7 +70,7 @@ install_sh = @install_sh@
 
 AUTOMAKE_OPTIONS = gnits
 
-XFAIL_TESTS = subdir5.test
+XFAIL_TESTS = subdir5.test make.test
 
 TESTS = \
 acinclude.test \
index cd2e70069844e4e2fea725196bc42dde07cff4db..99c4218b7a8e9b229022ca44c773c72b9d992017 100755 (executable)
@@ -27,9 +27,21 @@ export ACLOCAL
 export AUTOCONF
 export AUTOMAKE
 
-./configure
-touch configure.in
-$MAKE
+# Do the test twice -- once with make and once with make -w.
+# This tests for a bug reported by Rainer Orth.
+
+save="$MAKE"
+for flag in '' -w; do
+   MAKE="$save $flag" ./configure
+
+   fgrep '_am_include = #' Makefile && exit 1
+
+   touch configure.in
+   $MAKE $flag
+
+   fgrep '_am_include = #' Makefile && exit 1
+
+   rm -f config.cache
+done
 
-fgrep '_am_include = #' Makefile && exit 1
 exit 0
This page took 0.036342 seconds and 5 git commands to generate.