summaryrefslogtreecommitdiff
path: root/devel/py-cffi
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-07-03 11:08:29 +0000
committerwiz <wiz@pkgsrc.org>2017-07-03 11:08:29 +0000
commit2f6c0d33e3f44fa3816ffdbb0b86c420dae689c4 (patch)
tree440d6e914fa21c67128c311615840707f90b05ac /devel/py-cffi
parentb6b00cec0e07f2af7430914eb83e89495e975369 (diff)
downloadpkgsrc-2f6c0d33e3f44fa3816ffdbb0b86c420dae689c4.tar.gz
Do not run tests that segfault on NetBSD. Add upstream bug report URL.
Diffstat (limited to 'devel/py-cffi')
-rw-r--r--devel/py-cffi/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/py-cffi/Makefile b/devel/py-cffi/Makefile
index bf6c5bc2aea..2dd5b17d379 100644
--- a/devel/py-cffi/Makefile
+++ b/devel/py-cffi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2017/04/05 15:54:26 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2017/07/03 11:08:29 wiz Exp $
DISTNAME= cffi-1.10.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,16 +11,16 @@ COMMENT= Foreign Function Interface for Python calling C code
LICENSE= mit
USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
DEPENDS+= ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
# needs 'make install' before running the tests
-# segfault in c/test_c.py::test_callback
-# https://bitbucket.org/cffi/cffi/issues/303/cffi-191-segmentation-fault-during-self
-# probably problem in libffi
+# many segfaults and 6 other test failures
+# https://bitbucket.org/cffi/cffi/issues/321/cffi-191-segmentation-fault-during-self
do-test:
- cd ${WRKSRC} && py.test-${PYVERSSUFFIX} -v
+ cd ${WRKSRC} && py.test-${PYVERSSUFFIX} -v -k "not test_callback and not test_a_lot_of_callbacks and not test_wchar and not test_errno_callback and not test_functionptr_simple and not test_functionptr_voidptr_return and not test_functionptr_intptr_return and not test_functionptr_void_return and not test_cast_functionptr_and_int and not test_structptr_argument and not test_array_argument_as_list and not test_array_of_func_ptr and not test_function_pointer and not test_access_callback and not test_win32_calling_convention_0 and not test_ffi_callback and not test_array_length_from_constant and not test_some_integer_type_for_issue73 and not test_macro_var_callback"
.include "../../devel/libffi/buildlink3.mk"
.include "../../lang/python/egg.mk"