]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: add a workaround for automake bug#8485
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 12 Apr 2011 16:52:08 +0000 (18:52 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 6 May 2011 10:38:34 +0000 (12:38 +0200)
* tests/yacc-d-cxx.test (Makefile.am): Add temporary workaround
for automake bug#8485.  The bug is still exposed by the testcase
'yacc-dist-nobuild-subdir.test'.

ChangeLog
tests/yacc-d-cxx.test

index 903a49a63f12461289cb3a138ff1bd17db6a0049..f095b17adf1446308f46ff6531ba4c0a2bbc7799 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: add a workaround for automake bug#8485
+       * tests/yacc-d-cxx.test (Makefile.am): Add temporary workaround
+       for automake bug#8485.  The bug is still exposed by the testcase
+       'yacc-dist-nobuild-subdir.test'.
+
 2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        tests: add a couple of inter-tests reference
index 1308c187461b855da59e53636383cee888e25535..599b6ca382ca39ad43066d3d38bc89d56eebd03a 100755 (executable)
@@ -84,6 +84,15 @@ $AUTOCONF
 
 cp $testsrcdir/../lib/ylwrap .
 
+# FIXME: temporary workaround (taken from the automake manual) for
+#        automake bug#8485.  Remove once that bug is fixed.
+cat >> Makefile.am <<'END'
+AUTOMAKE_OPTIONS = -Wno-override
+distcleancheck_listfiles = \
+       find ./baz -type f -exec sh -c 'test -f $(srcdir)/$$1 || echo $$1' \
+            sh '{}' ';'
+END
+
 $AUTOMAKE Makefile
 
 # Try with -d in $(YFLAGS) (don't do this in real life!).