VirtualBox

source: kBuild/trunk/src/gmake/tests/scripts/functions/flavor@ 503

Last change on this file since 503 was 503, checked in by bird, 19 years ago

Untested merge with GNU Make v3.81 (vendor/gnumake/2005-05-16 -> vendor/gnumake/current).

File size: 591 bytes
Line 
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;
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette