Lines Matching refs:foreach
2 # $Id: foreach,v 1.1.1.1 2014/08/18 06:47:57 christos Exp $
4 $description = "Test the foreach function.";
6 $details = "This is a test of the foreach function in gnu make.
10 form of the command is $(foreach var,$list,$text). Several
11 types of foreach loops are tested\n";
23 av = $(foreach var, $(auto_var), $(origin $(var)) )
26 fe = $(foreach var2, $(for_var),$(subst .c,.o, $(var2) ) )
36 # TEST 1: Test that foreach variables take precedence over global
52 $(foreach x,FOREACH,$(eval $(value mktarget)))',
60 x = $(foreach )
65 … "#MAKEFILE#:2: *** insufficient number of arguments (1) to function `foreach'. Stop.",
69 x = $(foreach )
74 … "#MAKEFILE#:2: *** insufficient number of arguments (1) to function `foreach'. Stop.",