blob: d1081dac13aacc08304f071293898db5de1ef525 (
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;
|