1#                                                                    -*-perl-*-
2$description = "Test the flavor function.";
3
4$details = "";
5
6
7# Test #1: Test general logic.
8#
9run_make_test('
10s := s
11r = r
12
13$(info u $(flavor u))
14$(info s $(flavor s))
15$(info r $(flavor r))
16
17ra += ra
18rc ?= rc
19
20$(info ra $(flavor ra))
21$(info rc $(flavor rc))
22
23s += s
24r += r
25
26$(info s $(flavor s))
27$(info r $(flavor r))
28
29
30.PHONY: all
31all:;@:
32',
33'',
34'u undefined
35s simple
36r recursive
37ra recursive
38rc recursive
39s simple
40r recursive');
41
42
43# This tells the test driver that the perl test script executed properly.
441;
45