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; 24