aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/usr.bin/env/Makefile
blob: 06f1fbe82e238871150bbfb6b4436ac9a3bcc313 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TESTPGM?=TestProgramNotSpecifed

all:
	@echo "Note that the 'env' command uses its own regression suite,"
	@echo "which uses a single data file and a script written in ruby."
	@echo "By default it will test /usr/bin/env"
	@echo
	@ruby regress-sb.rb --rgdata=${.CURDIR}/regress-env.rgdata

#   A version which allows the user to specify which executable of `env'
#   should be tested, e.g.:    make testenv TESTPROG=/usr/bin/env-rel6
#   This will probably need a bit more thought...
testenv:
	@ruby regress-sb.rb --rgdata=${.CURDIR}/regress-env.rgdata \
	 --testpgm=${TESTPGM}