Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2019 22:47:11 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489413 - head/shells/bash-completion
Message-ID:  <201901052247.x05MlB6M070667@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Jan  5 22:47:11 2019
New Revision: 489413
URL: https://svnweb.freebsd.org/changeset/ports/489413

Log:
  Add do-test:
  
  Differential Revision:	https://reviews.freebsd.org/D18370
  PR:		233619
  Submitted by:	0mp

Modified:
  head/shells/bash-completion/Makefile

Modified: head/shells/bash-completion/Makefile
==============================================================================
--- head/shells/bash-completion/Makefile	Sat Jan  5 22:46:53 2019	(r489412)
+++ head/shells/bash-completion/Makefile	Sat Jan  5 22:47:11 2019	(r489413)
@@ -15,6 +15,9 @@ LICENSE=	GPLv2+
 BROKEN_armv6=	fails to build: gmake: install-recursive: Error 1
 BROKEN_armv7=	fails to build: gmake: install-recursive: Error 1
 
+TEST_DEPENDS=	runtest:misc/dejagnu \
+		${LOCALBASE}/lib/tcllib/cmdline/cmdline.tcl:devel/tcllib
+
 PORTSCOUT=	limit:^[0-9\.]*$$
 
 OPTIONS_DEFINE=	CMAKE_MODULES DOCS FREEBSD
@@ -69,5 +72,10 @@ post-install-DOCS-on:
 
 post-install-FREEBSD-on:
 	cd ${WRKSRC}/freebsd/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}
+
+do-test:
+.for test in runCompletion runInstall runUnit
+	-cd ${WRKSRC}/test && bash ${test}
+.endfor
 
 .include <bsd.port.mk>



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