svn commit: r417875 - head/security/vuxml

Mathieu Arnold mat at FreeBSD.org
Fri Jul 1 12:23:46 UTC 2016


Author: mat
Date: Fri Jul  1 12:23:44 2016
New Revision: 417875
URL: https://svnweb.freebsd.org/changeset/ports/417875

Log:
  Add a test target, testing that what the port is supposed to do works.
  
  Sponsored by:	Absolight

Modified:
  head/security/vuxml/Makefile   (contents, props changed)

Modified: head/security/vuxml/Makefile
==============================================================================
--- head/security/vuxml/Makefile	Fri Jul  1 12:15:08 2016	(r417874)
+++ head/security/vuxml/Makefile	Fri Jul  1 12:23:44 2016	(r417875)
@@ -45,6 +45,11 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/${dir_DTD}/${f}
 .endfor
 
+do-test:
+	@${MKDIR} ${WRKDIR}/test
+	@${CP} ${.CURDIR}/vuln.xml ${WRKDIR}/test
+	@cd ${.CURDIR} && make validate PKGDIR=${WRKDIR}/test
+
 validate: tidy
 	@${SH} ${FILESDIR}/validate.sh "${VUXML_FILE}"
 	@${ECHO_MSG} Checking if tidy differs...


More information about the svn-ports-head mailing list