xref: /freebsd/tools/regression/usr.bin/env/Makefile (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1# $FreeBSD$
2
3TESTPGM?=TestProgramNotSpecifed
4
5all:
6	@echo "Note that the 'env' command uses its own regression suite,"
7	@echo "which uses a single data file and a script written in ruby."
8	@echo "By default it will test /usr/bin/env"
9	@echo
10	@ruby regress-sb.rb --rgdata=${.CURDIR}/regress-env.rgdata
11
12#   A version which allows the user to specify which executable of `env'
13#   should be tested, e.g.:    make testenv TESTPROG=/usr/bin/env-rel6
14#   This will probably need a bit more thought...
15testenv:
16	@ruby regress-sb.rb --rgdata=${.CURDIR}/regress-env.rgdata \
17	 --testpgm=${TESTPGM}
18