From: Tom Tromey Date: Sat, 10 Apr 1999 23:27:06 +0000 (+0000) Subject: * confh.test: Use `sed' to extract full definition of X-Git-Tag: last-merge-into-user-dep-gen-branch~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c44803d3cd394e07d9def47cac9396ea83384ff;p=thirdparty%2Fautomake.git * confh.test: Use `sed' to extract full definition of DIST_COMMON. Look for stamp-h.in rule in include/Makefile.in. * Makefile.am (XFAIL_TESTS): Removed confh.test. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 1276f8915..4b6fcdba1 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,9 @@ +1999-04-11 Tom Tromey + + * confh.test: Use `sed' to extract full definition of + DIST_COMMON. Look for stamp-h.in rule in include/Makefile.in. + * Makefile.am (XFAIL_TESTS): Removed confh.test. + 1999-04-10 Tom Tromey * defs: Ensure srcdir is always absolute. diff --git a/tests/Makefile.am b/tests/Makefile.am index 247f45bc6..f15058d9a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = gnits -XFAIL_TESTS = confh.test +XFAIL_TESTS = TESTS = acinclude.test aclocal.test aclocali.test aclocalii.test \ acoutnoq.test acoutput.test acoutqnl.test acouttbs.test acsilent.test \ all.test alpha.test ammissing.test ansi.test ansi2.test ansi3.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index a56bcd668..375978737 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -67,7 +67,7 @@ VERSION = @VERSION@ AUTOMAKE_OPTIONS = gnits -XFAIL_TESTS = confh.test +XFAIL_TESTS = TESTS = acinclude.test aclocal.test aclocali.test aclocalii.test \ acoutnoq.test acoutput.test acoutqnl.test acouttbs.test acsilent.test \ all.test alpha.test ammissing.test ansi.test ansi2.test ansi3.test \ diff --git a/tests/confh.test b/tests/confh.test index d723554f7..63dd433f8 100755 --- a/tests/confh.test +++ b/tests/confh.test @@ -23,8 +23,16 @@ mkdir include $AUTOMAKE || exit 1 -grep '^DIST_COMMON =.* acconfig.h' Makefile.in || exit 1 -grep 'stamp-h.in:.*acconfig.h' Makefile.in || exit 1 +(sed -n -e '/^DIST_COMMON =.*\\$/ { + :loop + p + n + /\\$/ b loop + p + n + }' -e '/^DIST_COMMON =/ p' Makefile.in | grep acconfig.h) || exit 1 + +grep 'stamp-h.in:.*acconfig.h' include/Makefile.in || exit 1 # Make sure re-running automake in a different way generates same # Makefile.in.