Subject: PKGSRC_RUN_TEST: build vs. install
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 11/19/2002 16:06:03
It seems to me that PKGSRC_RUN_TEST should be done as the last action
step in the "build" target instead of the first action step in "install"
target.  I.e. like this:


.if !target(build)
.  if ${PKGSRC_RUN_TEST} == "YES" || ${PKGSRC_RUN_TEST} == "yes"
build: configure acquire-build-lock ${BUILD_COOKIE} test release-build-lock
.  else
build: configure acquire-build-lock ${BUILD_COOKIE} release-build-lock
.  endif
.endif


Comments?  Should I just send-pr a change request?

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>