Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2018 19:40:05 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480306 - head/math/py-pygslodeiv2
Message-ID:  <201809211940.w8LJe5pT049405@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Fri Sep 21 19:40:05 2018
New Revision: 480306
URL: https://svnweb.freebsd.org/changeset/ports/480306

Log:
  math/py-pygslodeiv2: Add tests

Modified:
  head/math/py-pygslodeiv2/Makefile

Modified: head/math/py-pygslodeiv2/Makefile
==============================================================================
--- head/math/py-pygslodeiv2/Makefile	Fri Sep 21 19:30:43 2018	(r480305)
+++ head/math/py-pygslodeiv2/Makefile	Fri Sep 21 19:40:05 2018	(r480306)
@@ -15,8 +15,12 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYNUMPY}
 LIB_DEPENDS=	libgsl.so:math/gsl
 RUN_DEPENDS=	${PYNUMPY}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		localbase python
 USE_PYTHON=	distutils autoplist
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
 
 .include <bsd.port.mk>



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