mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-10-23 12:49:59 +00:00
00ab47c22a
Imported make-3.80+3.81.b3.1 into srivasta@debian.org--etch/make--upstream--3.81 git-archimport-id: srivasta@debian.org--etch/make--upstream--3.81--patch-2
45 lines
591 B
Perl
45 lines
591 B
Perl
# -*-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;
|