VirtualBox

source: kBuild/trunk/src/gmake/tests/scripts/functions/shell@ 503

Last change on this file since 503 was 503, checked in by bird, 19 years ago

Untested merge with GNU Make v3.81 (vendor/gnumake/2005-05-16 -> vendor/gnumake/current).

File size: 511 bytes
Line 
1# -*-perl-*-
2
3$description = 'Test the $(shell ...) function.';
4
5$details = '';
6
7
8# Test shells inside rules.
9run_make_test('.PHONY: all
10all: ; @echo $(shell echo hi)
11','','hi');
12
13
14# Test shells inside exported environment variables.
15# This is the test that fails if we try to put make exported variables into
16# the environment for a $(shell ...) call.
17run_make_test('
18export HI = $(shell echo hi)
19.PHONY: all
20all: ; @echo $$HI
21','','hi');
22
231;
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