1# 2# Test that we can replace the shell and set all the shell parameters 3# (except meta and builtin which have their own test). This is done by 4# using a shell script for the shell that echoes all command line 5# arguments and its standard input. The shell name should not be one of 6# the builtin shells. 7# 8# XXX There seems to be a problem here in -j1 mode: for the line without 9# @- make should switch on echoing again, but it doesn't. 10#
| 1# 2# Test that we can replace the shell and set all the shell parameters 3# (except meta and builtin which have their own test). This is done by 4# using a shell script for the shell that echoes all command line 5# arguments and its standard input. The shell name should not be one of 6# the builtin shells. 7# 8# XXX There seems to be a problem here in -j1 mode: for the line without 9# @- make should switch on echoing again, but it doesn't. 10#
|
11# $FreeBSD: head/tools/regression/usr.bin/make/shell/replace/Makefile 146449 2005-05-20 14:50:30Z harti $
| 11# $FreeBSD: head/tools/regression/usr.bin/make/shell/replace/Makefile 146822 2005-05-31 14:13:07Z harti $
|
12
| 12
|
13all: shell 14 ${MAKE} test1 15 ${MAKE} -j1 test1 16 17shell: sh.sh 18 @cp ${.CURDIR}/sh.sh ${.OBJDIR}/shell 19 @chmod +x ${.OBJDIR}/shell 20 21.ifmake test1 22 23.SHELL: name="shell" path="${.OBJDIR}/shell" \
| 13.SHELL: name="shell" path="${.CURDIR}/shell" \
|
24 quiet="be quiet" echo="be verbose" filter="be verbose" \ 25 echoFlag="x" errFlag="y" \ 26 hasErrCtl=y check="check errors" ignore="ignore errors" 27 28.PHONY: test1 29test1: 30 -@funny $$ 31 funnier $$
| 14 quiet="be quiet" echo="be verbose" filter="be verbose" \ 15 echoFlag="x" errFlag="y" \ 16 hasErrCtl=y check="check errors" ignore="ignore errors" 17 18.PHONY: test1 19test1: 20 -@funny $$ 21 funnier $$
|
32 33.endif
| |
| |