From 11b4fa967941cc3ddca42bb220cfd183bd632987 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 27 Apr 2020 12:50:08 +0000 Subject: [PATCH] Add support for 'make test'. --- textproc/py-iso-639/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/textproc/py-iso-639/Makefile b/textproc/py-iso-639/Makefile index 3645495b58fe..d522611b06d6 100644 --- a/textproc/py-iso-639/Makefile +++ b/textproc/py-iso-639/Makefile @@ -12,6 +12,8 @@ COMMENT= Python library for ISO 639 standard LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}country>0:devel/py-country@${PY_FLAVOR} + USES= python USE_GITHUB= yes @@ -21,4 +23,7 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +do-test: + cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v tests/tests.py + .include