auto-test check.t:mkshrc-1 as well (verified to work)
This commit is contained in:
13
Makefile
13
Makefile
@@ -1,4 +1,4 @@
|
|||||||
# $MirOS: src/bin/mksh/Makefile,v 1.8 2005/10/21 11:44:25 tg Exp $
|
# $MirOS: src/bin/mksh/Makefile,v 1.9 2006/05/08 12:18:49 tg Exp $
|
||||||
|
|
||||||
PROG= mksh
|
PROG= mksh
|
||||||
SRCS= alloc.c edit.c eval.c exec.c expr.c funcs.c histrap.c \
|
SRCS= alloc.c edit.c eval.c exec.c expr.c funcs.c histrap.c \
|
||||||
@@ -9,7 +9,14 @@ check:
|
|||||||
@cd ${.CURDIR} && ${MAKE} regress V=-v
|
@cd ${.CURDIR} && ${MAKE} regress V=-v
|
||||||
|
|
||||||
regress: ${PROG} check.pl check.t
|
regress: ${PROG} check.pl check.t
|
||||||
perl ${.CURDIR}/check.pl -s ${.CURDIR}/check.t ${V} \
|
mkdir -p regress-dir
|
||||||
-p ./${PROG} -C pdksh
|
echo export FNORD=666 >regress-dir/.mkshrc
|
||||||
|
HOME=$$(readlink -nf regress-dir) perl ${.CURDIR}/check.pl \
|
||||||
|
-s ${.CURDIR}/check.t ${V} -p ./${PROG} -C pdksh
|
||||||
|
|
||||||
|
cleandir: clean-regress
|
||||||
|
|
||||||
|
clean-regress:
|
||||||
|
-rm -rf regress-dir
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Reference in New Issue
Block a user