Author: James Cowgill <[email protected]>
Branch:
Changeset: r1625:67435ba27473
Date: 2015-01-08 09:00 -0800
http://bitbucket.org/cffi/cffi/changeset/67435ba27473/
Log: Skip test_opaque_integer_as_function_result on mips64el, causes SEGV
It looked like CFFI told libffi that the return type of the function
was a structure of size 2 but with no elements, which seems illegal.
From: https://bugs.debian.org/774787
diff --git a/testing/test_verify.py b/testing/test_verify.py
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -1220,6 +1220,8 @@
import platform
if platform.machine().startswith('sparc'):
py.test.skip('Breaks horribly on sparc (SIGILL + corrupted stack)')
+ elif platform.machine() == 'mips64' and sys.maxsize > 2**32:
+ py.test.skip('Segfaults on mips64el')
# XXX bad abuse of "struct { ...; }". It only works a bit by chance
# anyway. XXX think about something better :-(
ffi = FFI()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit