automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] tests: add a workaround for automake bug#8485


From: Stefano Lattarini
Subject: [PATCH] tests: add a workaround for automake bug#8485
Date: Tue, 12 Apr 2011 18:56:14 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

* 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'.

From bd32c0d96bee5f28cf236cffc39b52d185c86d91 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <address@hidden>
Date: Tue, 12 Apr 2011 18:52:08 +0200
Subject: [PATCH] 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'.
---
 ChangeLog             |    7 +++++++
 tests/yacc-d-cxx.test |    9 +++++++++
 2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6e522d8..194d025 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-04-12  Stefano Lattarini  <address@hidden>
 
+       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-04-12  Stefano Lattarini  <address@hidden>
+
        tests: fix spurious failure in test 'yacc-d-cxx.test'
        * tests/yacc-d-cxx.test: Create ylwrap script before calling
        automake for the first time, so that the script gets correctly
diff --git a/tests/yacc-d-cxx.test b/tests/yacc-d-cxx.test
index 4381346..492a1c3 100755
--- a/tests/yacc-d-cxx.test
+++ b/tests/yacc-d-cxx.test
@@ -86,6 +86,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!).
-- 
1.7.2.3


reply via email to

[Prev in Thread] Current Thread [Next in Thread]