From dec3c38232bb9006f02c6ca2a04d62e8f5b01125 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Mon, 6 Feb 2012 23:02:32 +0100 Subject: [PATCH] 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. --- tests/defs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/defs b/tests/defs index 194dce0..6d3810b 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 -- 2.7.4