Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 2015 14:21:10 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398829 - head/Mk
Message-ID:  <201510081421.t98ELA4I074644@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510081421.t98ELA4I074644>