diff options
author | wiz <wiz@pkgsrc.org> | 2017-01-28 15:34:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-01-28 15:34:19 +0000 |
commit | 7955f94733cc8d7e137c8df1c0d0a2f37f0d9824 (patch) | |
tree | 6adc2a312cb03cf09867d9ace81c3f60c524ce68 /devel | |
parent | 79178c682ae72da60a925950493b9b224d6229ed (diff) | |
download | pkgsrc-7955f94733cc8d7e137c8df1c0d0a2f37f0d9824.tar.gz |
Run self-tests using py.test, better readable output.
Remove mprotect comment; even with it turned off, a segfault happens.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-cffi/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/py-cffi/Makefile b/devel/py-cffi/Makefile index 11d17ac93b8..6fe7b63592d 100644 --- a/devel/py-cffi/Makefile +++ b/devel/py-cffi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2016/11/14 14:31:18 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2017/01/28 15:34:19 wiz Exp $ DISTNAME= cffi-1.9.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -13,12 +13,10 @@ LICENSE= mit USE_TOOLS+= pkg-config DEPENDS+= ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test -NOT_PAX_MPROTECT_SAFE= ${PYSITELIB}/_cffi_backend.so - -# tests don't run on MPROTECT enabled systems, and I haven't found -# the magic to fix that, so workaround: -# sysctl -w security.pax.mprotect.global=0 +do-test: + cd ${WRKSRC} && py.test-${PYVERSSUFFIX} -v .include "../../devel/libffi/buildlink3.mk" .include "../../lang/python/egg.mk" |