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