aboutsummaryrefslogtreecommitdiff
path: root/math/py-pygslodeiv2
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-09-21 19:40:05 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-09-21 19:40:05 +0000
commit35da913a9df97a4b714c95f77506a2ec393e736a (patch)
treeabb66f7897256ed7476c8529fdca802b7a947232 /math/py-pygslodeiv2
parent6789bd123d3b00cc76e0aa87fb6f27d6b1c121f7 (diff)
downloadports-35da913a9df97a4b714c95f77506a2ec393e736a.tar.gz
ports-35da913a9df97a4b714c95f77506a2ec393e736a.zip
math/py-pygslodeiv2: Add tests
Notes
Notes: svn path=/head/; revision=480306
Diffstat (limited to 'math/py-pygslodeiv2')
-rw-r--r--math/py-pygslodeiv2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/py-pygslodeiv2/Makefile b/math/py-pygslodeiv2/Makefile
index baaec4868453..0fba6ccf3fbb 100644
--- a/math/py-pygslodeiv2/Makefile
+++ b/math/py-pygslodeiv2/Makefile
@@ -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>