aboutsummaryrefslogtreecommitdiff
path: root/sysutils/py-resolve-march-native
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-05 22:04:37 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-05 22:04:37 +0000
commit57cf34a5325965492cbcd35d2802ae56e6ac10ed (patch)
tree8cd66c6ddc25759d1dba7a33f2d121220b0f4b30 /sysutils/py-resolve-march-native
parent893a8b16eb34908af171d3599f75b5b6f092db4d (diff)
downloadports-57cf34a5325965492cbcd35d2802ae56e6ac10ed.tar.gz
ports-57cf34a5325965492cbcd35d2802ae56e6ac10ed.zip
sysutils/py-resolve-march-native: add support for tests
Notes
Notes: svn path=/head/; revision=551545
Diffstat (limited to 'sysutils/py-resolve-march-native')
-rw-r--r--sysutils/py-resolve-march-native/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/py-resolve-march-native/Makefile b/sysutils/py-resolve-march-native/Makefile
index 63fff7a7776f..9a1f672728b9 100644
--- a/sysutils/py-resolve-march-native/Makefile
+++ b/sysutils/py-resolve-march-native/Makefile
@@ -10,6 +10,8 @@ COMMENT= Command line tool to resolve -march=native into explicit flags
LICENSE= GPLv2+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+
USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= hartwork
@@ -18,5 +20,6 @@ USE_PYTHON= autoplist concurrent distutils
ALL_TARGET= install
BINARY_ALIAS= python=${PYTHON_CMD}
NO_ARCH= yes
+TEST_TARGET= check
.include <bsd.port.mk>