From: Stefano Lattarini Date: Mon, 6 Feb 2012 22:02:32 +0000 (+0100) Subject: test defs: avoid spurious XPASS results with NetBSD make X-Git-Tag: ng-0.5a~11^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec3c38232bb9006f02c6ca2a04d62e8f5b01125;p=thirdparty%2Fautomake.git test defs: avoid spurious XPASS results with NetBSD make * tests/defs (make_can_chain_suffix_rules): Ensure to properly declare the '.SUFFIXES:' in the temporary Makefile used to check whether $MAKE is able to automatically chain suffix rules. This avoids spurious XPASS results with (at least) NetBSD make in some 'suffix*.tap' tests; in a sense also, this also makes the probing of $MAKE capabilities more faithful, since the Automake-generated Makefiles are expected to properly declare the '.SUFFIXES:' as well. --- diff --git a/tests/defs b/tests/defs index 194dce0ca..6d3810b16 100644 --- a/tests/defs +++ b/tests/defs @@ -422,6 +422,7 @@ make_can_chain_suffix_rules () mkdir am__chain.dir$$ cd am__chain.dir$$ unindent > Makefile << 'END' + .SUFFIXES: .u .v .w .u.v: ; cp $< $@ .v.w: ; cp $< $@ END