svn commit: r398829 - head/Mk

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Oct 8 14:21:11 UTC 2015


Author: amdmi3
Date: Thu Oct  8 14:21:10 2015
New Revision: 398829
URL: https://svnweb.freebsd.org/changeset/ports/398829

Log:
  Enable TEST option if DEVELOPER is set
  
  TEST option is used when a port needs extra depends or flags for
  build phase to enable tests (so TEST_DEPENDS don't work). Enable
  it by default for DEVELOPER builds, so interested parties and Q/A
  can have all tests available.
  
  Approved by:	portmgr (bapt)
  Differential Revision:	D3844

Modified:
  head/Mk/bsd.options.mk

Modified: head/Mk/bsd.options.mk
==============================================================================
--- head/Mk/bsd.options.mk	Thu Oct  8 14:18:12 2015	(r398828)
+++ head/Mk/bsd.options.mk	Thu Oct  8 14:21:10 2015	(r398829)
@@ -189,6 +189,10 @@ WITHOUT+=			EXAMPLES
 OPTIONS_WARNINGS_UNSET+=	EXAMPLES
 .endif
 
+.if defined(DEVELOPER)
+PORT_OPTIONS+=	TEST
+.endif
+
 PORT_OPTIONS+=	IPV6
 
 # Add per arch options


More information about the svn-ports-head mailing list