VirtualBox

source: kBuild/trunk/src/kmk/tests/scripts/features/override@ 1960

Last change on this file since 1960 was 969, checked in by bird, 18 years ago

Fixing some svn props.

  • Property svn:eol-style set to LF
File size: 681 bytes
Line 
1$description = "The following test creates a makefile to ...";
2
3$details = "";
4
5open(MAKEFILE,"> $makefile");
6
7# The Contents of the MAKEFILE ...
8
9print MAKEFILE "override define foo\n"
10 ."\@echo First comes the definition.\n"
11 ."\@echo Then comes the override.\n"
12 ."endef\n"
13 ."all: \n"
14 ."\t\$(foo)\n";
15
16# END of Contents of MAKEFILE
17
18close(MAKEFILE);
19
20&run_make_with_options($makefile,"foo=Hello",&get_logfile);
21
22# Create the answer to what should be produced by this Makefile
23$answer = "First comes the definition.\n"
24 ."Then comes the override.\n";
25
26&compare_output($answer,&get_logfile(1));
27
281;
29
30
31
32
33
34
Note: See TracBrowser for help on using the repository browser.

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