VirtualBox

source: kBuild/trunk/src/kmk/tests/scripts/variables/MAKE

Last change on this file was 3140, checked in by bird, 7 years ago

kmk: Merged in changes from GNU make 4.2.1 (2e55f5e4abdc0e38c1d64be703b446695e70b3b6 / https://git.savannah.gnu.org/git/make.git).

  • Property svn:eol-style set to LF
File size: 473 bytes
Line 
1# -*-perl-*-
2
3$description = "Test proper behavior of the MAKE variable";
4
5$details = "DETAILS";
6
7run_make_test(q!
8TMP := $(MAKE)
9MAKE := $(subst X=$(X),,$(MAKE))
10all:
11 @echo $(TMP)
12 $(MAKE) -f #MAKEFILE# foo
13
14foo:
15 @echo $(MAKE)
16!,
17 '',
18 "#MAKEPATH#\n#MAKEPATH# -f #MAKEFILE# foo\n"
19 . "#MAKE#[1]: Entering directory '#PWD#'\n"
20 . "#MAKEPATH#\n#MAKE#[1]: Leaving directory '#PWD#'\n");
21
22rmfiles("foo");
23
241;
Note: See TracBrowser for help on using the repository browser.

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