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