VirtualBox

source: kBuild/vendor/gnumake/3.82/tests/scripts/functions/flavor

Last change on this file was 2579, checked in by bird, 13 years ago

Importing make-3.82.tar.bz2 (md5sum 1a11100f3c63fcf5753818e59d63088f) with --auto-props but no keywords.

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.

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