Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Dieter Baron <dillo@netbsd.org>
List: pkgsrc-changes
Date: 11/07/2002 06:22:29
Module Name:	pkgsrc
Committed By:	dillo
Date:		Thu Nov  7 04:22:29 UTC 2002

Modified Files:
	pkgsrc/mk: bsd.pkg.defaults.mk bsd.pkg.mk

Log Message:
Add a test target to bsd.pkg.mk:

  It runs pre-test, do-test, and post-test.  The default pre-test and
post-test targets are empty; the default do-test target runs
TEST_TARGET (in each TEST_DIRS (defaults to BUILD_DIRS)) if it is set
and does nothing otherwise.  Thus the test target defaults to doing
nothing.

  The usual way to use this is to set TEST_TARGET to the target to run
(e.g. TEST_TARGET=check for GNU packages).

  If PKGSRC_RUN_TEST is set to yes (in mk.conf, defaults to no),
the test target is run before install.

(approved by agc)


To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 pkgsrc/mk/bsd.pkg.defaults.mk
cvs rdiff -r1.1080 -r1.1081 pkgsrc/mk/bsd.pkg.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.