From: Stefano Lattarini Date: Tue, 12 Apr 2011 16:52:08 +0000 (+0200) Subject: tests: add a workaround for automake bug#8485 X-Git-Tag: ylwrap-refactor-abandoned-branch~21^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a187a50b89839f823f174256afa0903e0040a97;p=thirdparty%2Fautomake.git 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'. --- diff --git a/ChangeLog b/ChangeLog index 903a49a63..f095b17ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-06 Stefano Lattarini + + 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 tests: add a couple of inter-tests reference diff --git a/tests/yacc-d-cxx.test b/tests/yacc-d-cxx.test index 1308c1874..599b6ca38 100755 --- a/tests/yacc-d-cxx.test +++ b/tests/yacc-d-cxx.test @@ -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!).