From f5891a26d8d3ed87b059856650b2bdb0c7ea355e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Sep 2009 12:31:55 +0000 Subject: Implement the shortest stem first search order for pattern-specific variables and pattern rules. --- tests/scripts/features/patternrules | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/scripts/features/patternrules') diff --git a/tests/scripts/features/patternrules b/tests/scripts/features/patternrules index dcaf0dd..eebe7c0 100644 --- a/tests/scripts/features/patternrules +++ b/tests/scripts/features/patternrules @@ -207,6 +207,18 @@ CWEAVE := : unlink(@f); +# TEST #9: Test shortest stem selection in pattern rules. + +run_make_test(' +%.x: ;@echo one +%-mt.x: ;@echo two + +all: foo.x foo-mt.x +', +'', +"one\ntwo"); + +1; # This tells the test driver that the perl test script executed properly. 1; -- cgit v1.2.3