VirtualBox

source: kBuild/trunk/src/kmk/tests/scripts/options/eval@ 2591

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

kmk: Merged in changes from GNU make 3.82. Previous GNU make base version was gnumake-2008-10-28-CVS.

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