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