blob: dc621606ed3b2bd64a561607e325f4ff2bdd2bec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# -*-perl-*-
$description = "Test proper behavior of the MAKE variable";
$details = "DETAILS";
run_make_test(q!
TMP := $(MAKE)
MAKE := $(subst X=$(X),,$(MAKE))
all:
@echo $(TMP)
$(MAKE) -f #MAKEFILE# foo
foo:
@echo $(MAKE)
!,
'',
"#MAKEPATH#\n#MAKEPATH# -f #MAKEFILE# foo\n"
. "#MAKE#[1]: Entering directory '#PWD#'\n"
. "#MAKEPATH#\n#MAKE#[1]: Leaving directory '#PWD#'\n");
rmfiles("foo");
1;
|