[pypy-commit] cffi default: Skip half the test with MSVC

arigo noreply at buildbot.pypy.org
Tue Nov 12 14:34:24 CET 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r1414:8c9468c7c428
Date: 2013-11-12 14:33 +0100
http://bitbucket.org/cffi/cffi/changeset/8c9468c7c428/

Log:	Skip half the test with MSVC

diff --git a/testing/test_verify.py b/testing/test_verify.py
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -1601,6 +1601,8 @@
                         (maxulong, -1, ''),
                         (-1, 0xffffffff, 'U'),
                         (-1, maxulong, 'UL')]:
+        if c2c and sys.platform == 'win32':
+            continue     # enums may always be signed with MSVC
         ffi = FFI()
         ffi.cdef("enum foo_e { AA=%s };" % c1)
         e = py.test.raises(VerificationError, ffi.verify,


More information about the pypy-commit mailing list