VirtualBox

source: kBuild/vendor/gnumake/3.82-cvs/tests/scripts/options/eval

Last change on this file was 2580, checked in by bird, 12 years ago

Importing the make-3-82 CVS tag with --auto-props but no keywords.

File size: 600 bytes
Line 
1# -*-perl-*-
2
3$description = "Test the --eval option.";
4
5$details = "Verify that --eval options take effect,
6and are passed to sub-makes.";
7
8# Verify that --eval is evaluated first
9run_make_test(q!
10BAR = bar
11all: ; @echo all
12recurse: ; @$(MAKE) -f #MAKEFILE# && echo recurse!,
13 '--eval=\$\(info\ eval\) FOO=\$\(BAR\)', "eval\nall");
14
15# Make sure that --eval is handled correctly during recursion
16run_make_test(undef, '--no-print-directory --eval=\$\(info\ eval\) recurse',
17 "eval\neval\nall\nrecurse");
18
191;
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