summaryrefslogtreecommitdiff
path: root/devel/py-testtools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2019-06-14 08:13:14 +0000
committerwiz <wiz@pkgsrc.org>2019-06-14 08:13:14 +0000
commit143f44dd6595e3876743305813aa292b58f607f5 (patch)
tree9baea68f3a593c73d2c7f72dc3c507abde8c2b7a /devel/py-testtools
parentffcf8750dde322b88f9ad8b133e8d9d85f987e2a (diff)
downloadpkgsrc-143f44dd6595e3876743305813aa292b58f607f5.tar.gz
py-testtools: Improve test target. Update bug reports.
Diffstat (limited to 'devel/py-testtools')
-rw-r--r--devel/py-testtools/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/py-testtools/Makefile b/devel/py-testtools/Makefile
index 376d5be189d..fba26088554 100644
--- a/devel/py-testtools/Makefile
+++ b/devel/py-testtools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2017/12/18 08:48:26 adam Exp $
+# $NetBSD: Makefile,v 1.19 2019/06/14 08:13:14 wiz Exp $
DISTNAME= testtools-2.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -15,16 +15,16 @@ DEPENDS+= ${PYPKGPREFIX}-fixtures>=1.3.0:../../devel/py-fixtures
DEPENDS+= ${PYPKGPREFIX}-python-mimeparse-[0-9]*:../../www/py-python-mimeparse
DEPENDS+= ${PYPKGPREFIX}-unittest2>=0.8.0:../../devel/py-unittest2
-# 38 failures as of 2.2.0
+# 2 failures as of 2.3.0
# https://github.com/testing-cabal/testtools/issues/253
-# TEST_DEPENDS
-BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-BUILD_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
+# circular test dependency
+# https://github.com/testing-cabal/testscenarios/issues/4
+#TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
USE_LANGUAGES= # none
do-test:
- cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} PYTHONPATH=${PWD} ${PYTHONBIN} -m testtools.run testtools.tests.test_suite
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"