pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-testtools py-testtools: Improve test target. ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a7db260eb832
branches: trunk
changeset: 397000:a7db260eb832
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Jun 14 08:13:14 2019 +0000
description:
py-testtools: Improve test target. Update bug reports.
diffstat:
devel/py-testtools/Makefile | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (31 lines):
diff -r c6c5decc80d9 -r a7db260eb832 devel/py-testtools/Makefile
--- a/devel/py-testtools/Makefile Fri Jun 14 08:11:34 2019 +0000
+++ b/devel/py-testtools/Makefile Fri Jun 14 08:13:14 2019 +0000
@@ -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}-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"
Home |
Main Index |
Thread Index |
Old Index