test.patch revision 2719
2719N/A - don't assume that stdin/stdout/stderr are changeable:
2719N/A--- cffi-0.8.2/testing/test_verify.py Thu Mar 6 22:51:56 2014
2719N/A+++ cffi-0.8.2/testing/test_verify.py Thu Mar 20 18:39:01 2014
2719N/A--- cffi-0.8.2/testing/callback_in_thread.py Fri Mar 21 15:58:21 2014
2719N/A+++ cffi-0.8.2/testing/callback_in_thread.py Fri Mar 21 15:58:30 2014
2719N/A @ffi.callback('int(*)(int,int)')
2719N/A--- cffi-0.8.2/testing/test_ownlib.py Tue Oct 9 02:10:04 2012
2719N/A+++ cffi-0.8.2/testing/test_ownlib.py Tue Mar 25 15:39:35 2014
2719N/A from cffi.backend_ctypes import CTypesBackend
2719N/A from testing.udir import udir
2719N/A--- cffi-0.8.2/c/test_c.py Thu Mar 6 22:51:56 2014
2719N/A+++ cffi-0.8.2/c/test_c.py Mon Mar 24 14:53:27 2014
2719N/A- if sys.platform == 'win32' or sys.platform == 'darwin' or sys.platform.startswith('freebsd'):
2719N/A+ if not sys.platform.startswith("linux"):
2719N/A py.test.skip("untested")
2719N/A- if sys.platform == 'win32' or sys.platform == 'darwin' or sys.platform.startswith('freebsd'):
2719N/A+ if not sys.platform.startswith("linux"):
2719N/A py.test.skip("untested")
2719N/A- if sys.platform == 'win32' or sys.platform == 'darwin' or sys.platform.startswith('freebsd'):
2719N/A+ if not sys.platform.startswith("linux"):
2719N/A py.test.skip("untested")
2719N/A--- cffi-0.8.2/testing/test_verify.py Thu Mar 6 22:51:56 2014
2719N/A+++ cffi-0.8.2/testing/test_verify.py Mon Mar 24 15:03:49 2014
2719N/A- if sys.platform == 'win32':
2719N/A- py.test.skip("MSVC: cannot assign to stdout")
2719N/A+ if not sys.platform.startswith("linux"):
2719N/A+ py.test.skip("likely, we cannot assign to stdout")
2719N/A lib = ffi.verify("""
2719N/A--- cffi-0.8.2/testing/test_verify.py Thu Mar 6 22:51:56 2014
2719N/A+++ cffi-0.8.2/testing/test_verify.py Mon Mar 24 15:06:23 2014
2719N/A+ if FFI().sizeof("long") == 8 and sys.platform != 'sunos5':
2719N/A- if sys.platform == 'win32' and 'U' in hidden_value:
2719N/A+ if sys.platform in ('win32', 'sunos5') and 'U' in hidden_value:
2719N/A- if c2c and sys.platform == 'win32':
2719N/A+ if c2c and sys.platform in ('win32', 'sunos5'):
2719N/A lib = ffi.verify("""