From: Stefano Lattarini Date: Fri, 16 Dec 2011 00:46:14 +0000 (+0100) Subject: tests: fix a minor spurious failure with FreeBSD make X-Git-Tag: v1.12.0b~202 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb49574d11f61b23b2a25a81e032df7cc5c9b296;p=platform%2Fupstream%2Fautomake.git tests: fix a minor spurious failure with FreeBSD make * tests/remake-am-pr10111.test: Avoid using `#' comments in makefile recipes, as these have been confusing FreeBSD make. The failure was masked by the fact that this test is currently expected to fail. Suggested by a report from Bruno Haible. --- diff --git a/ChangeLog b/ChangeLog index f61872d..6bc7daa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2011-12-16 Stefano Lattarini + tests: fix a minor spurious failure with FreeBSD make + * tests/remake-am-pr10111.test: Avoid using `#' comments in + makefile recipes, as these have been confusing FreeBSD make. + The failure was masked by the fact that this test is currently + expected to fail. + Suggested by a report from Bruno Haible. + +2011-12-16 Stefano Lattarini + tests: make two test scripts executable * tests/remake-am-pr10111.test: Make executable. * tests/remake-m4-pr10111.test: Likewise. diff --git a/tests/remake-am-pr10111.test b/tests/remake-am-pr10111.test index 6f622f8..888c9dd 100755 --- a/tests/remake-am-pr10111.test +++ b/tests/remake-am-pr10111.test @@ -35,9 +35,9 @@ END cat > Makefile.am <<'END' include $(srcdir)/foobar.am $(srcdir)/foobar.am: -## Creative quoting to avoid spurious matches in the grepping +## Creative quoting is to avoid spurious matches in the grepping ## of Makefile.in, later. - echo '#' 'foobar' 'was 'here' '#' > $@ + echo "mu =" foobar "was here =" > $@ END $ACLOCAL @@ -58,7 +58,7 @@ cd build # included by configure.in works also in VPATH builds. rm -f ../foobar.am $MAKE -grep '# foobar was here #' ../Makefile.in +grep '= foobar was here =' ../Makefile.in $MAKE distcheck :