VirtualBox

source: kBuild/vendor/gnumake/current/tests/scripts/functions/flavor@ 3138

最後變更 在這個檔案從3138是 2596,由 bird 提交於 13 年 前

gnumake/current -> 3.82-cvs.

  • 屬性 svn:eol-style 設為 LF
檔案大小: 591 位元組
 
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;
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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