xref: /freebsd/tools/regression/usr.bin/env/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
16cc00fe2SGarance A DrosehnTESTPGM?=TestProgramNotSpecifed
26cc00fe2SGarance A Drosehn
36cc00fe2SGarance A Drosehnall:
46cc00fe2SGarance A Drosehn	@echo "Note that the 'env' command uses its own regression suite,"
56cc00fe2SGarance A Drosehn	@echo "which uses a single data file and a script written in ruby."
66cc00fe2SGarance A Drosehn	@echo "By default it will test /usr/bin/env"
76cc00fe2SGarance A Drosehn	@echo
86cc00fe2SGarance A Drosehn	@ruby regress-sb.rb --rgdata=${.CURDIR}/regress-env.rgdata
96cc00fe2SGarance A Drosehn
106cc00fe2SGarance A Drosehn#   A version which allows the user to specify which executable of `env'
116cc00fe2SGarance A Drosehn#   should be tested, e.g.:    make testenv TESTPROG=/usr/bin/env-rel6
126cc00fe2SGarance A Drosehn#   This will probably need a bit more thought...
136cc00fe2SGarance A Drosehntestenv:
146cc00fe2SGarance A Drosehn	@ruby regress-sb.rb --rgdata=${.CURDIR}/regress-env.rgdata \
156cc00fe2SGarance A Drosehn	 --testpgm=${TESTPGM}
16