git: 5163c6671ff4 - main - devel/py-unittest2: Add make test
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 17:01:18 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5163c6671ff4eaaaf2d79bc06aaa2f9f89dae475
commit 5163c6671ff4eaaaf2d79bc06aaa2f9f89dae475
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 16:56:59 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 16:56:59 +0000
devel/py-unittest2: Add make test
---
devel/py-unittest2/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/devel/py-unittest2/Makefile b/devel/py-unittest2/Makefile
index 4863fc0d51e0..dabb573fc9de 100644
--- a/devel/py-unittest2/Makefile
+++ b/devel/py-unittest2/Makefile
@@ -20,4 +20,7 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+do-test:
+ cd ${WRKSRC} && ${PYTHON_CMD} -m unittest2 -v
+
.include <bsd.port.mk>