automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {master} test defs: avoid spurious XPASS results with NetBSD make


From: Stefano Lattarini
Subject: [FYI] {master} test defs: avoid spurious XPASS results with NetBSD make
Date: Mon, 6 Feb 2012 23:08: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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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
-- 
1.7.7.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]