Author: Armin Rigo <[email protected]> Branch: Changeset: r389:31a2241d798b Date: 2012-06-16 11:16 +0200 http://bitbucket.org/cffi/cffi/changeset/31a2241d798b/
Log: Skip the remaining tests on Windows, and document its existence. diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -39,8 +39,8 @@ Installation and Status ======================================================= -This code has been tested on Linux only. It is known to contain -some cross-platform issues. Work on Windows will be coming soon. +This code has been developed on Linux but should work on any POSIX +or Windows platform. There are some Windows-specific issues left. Requirements: @@ -48,7 +48,9 @@ * pycparser 2.06: http://code.google.com/p/pycparser/ -* libffi (you need ``libffi-dev``) +* libffi (you need ``libffi-dev``); or, on Windows, you need to + copy the directory ``Modules\_ctypes\libffi_msvc`` from the + CPython sources (2.6 or 2.7) into the top-level directory. Download and Installation: diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test_verify.py +++ b/testing/test_verify.py @@ -169,6 +169,8 @@ ffi.cdef("struct foo_s { char x; int y; long *z; };") ffi.verify("struct foo_s { char x; int y; long *z; };") # + if sys.platform == 'win32': + py.test.skip("XXX fixme: only gives warnings") for real in [ "struct foo_s { char x; int y; int *z; };", "struct foo_s { char x; long *z; int y; };", @@ -240,6 +242,8 @@ _check_field_match("unsigned short", "signed short", expect_mismatch=False) def test_struct_float_vs_int(): + if sys.platform == 'win32': + py.test.skip("XXX fixme: only gives warnings") for typename in all_signed_integer_types: for real in all_float_types: _check_field_match(typename, real, expect_mismatch=True) _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
