mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-27 19:34:33 +00:00
add make-4.3.tar.gz
This commit is contained in:
parent
0a0997a872
commit
19f70a154e
458 changed files with 239669 additions and 0 deletions
44
third_party/make/tests/scripts/functions/flavor
vendored
Normal file
44
third_party/make/tests/scripts/functions/flavor
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# -*-perl-*-
|
||||
$description = "Test the flavor function.";
|
||||
|
||||
$details = "";
|
||||
|
||||
|
||||
# Test #1: Test general logic.
|
||||
#
|
||||
run_make_test('
|
||||
s := s
|
||||
r = r
|
||||
|
||||
$(info u $(flavor u))
|
||||
$(info s $(flavor s))
|
||||
$(info r $(flavor r))
|
||||
|
||||
ra += ra
|
||||
rc ?= rc
|
||||
|
||||
$(info ra $(flavor ra))
|
||||
$(info rc $(flavor rc))
|
||||
|
||||
s += s
|
||||
r += r
|
||||
|
||||
$(info s $(flavor s))
|
||||
$(info r $(flavor r))
|
||||
|
||||
|
||||
.PHONY: all
|
||||
all:;@:
|
||||
',
|
||||
'',
|
||||
'u undefined
|
||||
s simple
|
||||
r recursive
|
||||
ra recursive
|
||||
rc recursive
|
||||
s simple
|
||||
r recursive');
|
||||
|
||||
|
||||
# This tells the test driver that the perl test script executed properly.
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue