Subject: Re: Running tests
To: None <tech-pkg@netbsd.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 07/07/2005 00:13:13
Roman Kulik wrote:
> After installing a perl package using package source I can run tests using:
> bmake test
> 
> Does anyone know how to run the test automatically after the package is 
> installed, ex. running
> bmake install
> will install package and run the perl tests as well.

cd pkgsrc/mk
grep -r TEST .

(somewhere there's a line mentioning PKGSRC_RUN_TEST. You need to set 
that to "yes" (without quotes) in your mk.conf.)

Roland