xref: /freebsd/tools/regression/usr.bin/env/Makefile (revision 9336e0699bda8a301cd2bfa37106b6ec5e32012e)
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}