Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 12:59:08 +0000 (UTC)
From:      Julio Merino <jmmv@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343497 - head/devel/shtk
Message-ID:  <201402091259.s19Cx877020951@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmmv (src committer)
Date: Sun Feb  9 12:59:07 2014
New Revision: 343497
URL: http://svnweb.freebsd.org/changeset/ports/343497
QAT: https://qat.redports.org/buildarchive/r343497/

Log:
  Make devel/shtk install its tests.
  
  This is a proof of concept to showcase the installation of tests into the
  new 'tests' top-level subdirectory of /usr/local.  Other ports will follow
  later on.
  
  The installation of tests is protected by the already-existing TEST option.
  
  Bump the port revision to 1.
  
  Approved by:	bdrewery

Modified:
  head/devel/shtk/Makefile
  head/devel/shtk/pkg-plist

Modified: head/devel/shtk/Makefile
==============================================================================
--- head/devel/shtk/Makefile	Sun Feb  9 12:54:55 2014	(r343496)
+++ head/devel/shtk/Makefile	Sun Feb  9 12:59:07 2014	(r343497)
@@ -2,6 +2,7 @@
 
 PORTNAME=	shtk
 PORTVERSION=	1.4
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/jmmv/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/ \
 		LOCAL/jmmv
@@ -16,4 +17,8 @@ CONFIGURE_ARGS+=--without-atf
 
 MAKE_ARGS=      pkgconfigdir=${PREFIX}/libdata/pkgconfig
 
+OPTIONS_DEFINE=		TEST
+OPTIONS_SUB=		yes
+TEST_CONFIGURE_WITH=	atf
+
 .include <bsd.port.mk>

Modified: head/devel/shtk/pkg-plist
==============================================================================
--- head/devel/shtk/pkg-plist	Sun Feb  9 12:54:55 2014	(r343496)
+++ head/devel/shtk/pkg-plist	Sun Feb  9 12:59:07 2014	(r343497)
@@ -15,5 +15,16 @@ share/shtk/config.subr
 share/shtk/cvs.subr
 share/shtk/list.subr
 share/shtk/process.subr
+%%TEST%%tests/shtk/Kyuafile
+%%TEST%%tests/shtk/base_test
+%%TEST%%tests/shtk/bool_test
+%%TEST%%tests/shtk/cleanup_test
+%%TEST%%tests/shtk/cli_test
+%%TEST%%tests/shtk/config_test
+%%TEST%%tests/shtk/cvs_test
+%%TEST%%tests/shtk/list_test
+%%TEST%%tests/shtk/process_test
+%%TEST%%tests/shtk/shtk_test
+%%TEST%%@dirrm tests/shtk
 @dirrm share/shtk
 @dirrm share/doc/shtk



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