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