]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
test defs: avoid spurious XPASS results with NetBSD make
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 6 Feb 2012 22:02:32 +0000 (23:02 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 6 Feb 2012 22:05:48 +0000 (23:05 +0100)
* 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.

tests/defs

index 194dce0ca5c8fa93f9bd9993310bb0b22e16febf..6d3810b1670144039678d32fcf6fc44ffff4533f 100644 (file)
@@ -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