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