Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1214:758d60d39a87
Date: 2013-03-30 19:24 +0100
http://bitbucket.org/cffi/cffi/changeset/758d60d39a87/
Log: Skip testing for large unsigned values on Windows, where the C
compiler silently truncates them to negative values, apparently.
diff --git a/testing/test_verify.py b/testing/test_verify.py
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -1469,6 +1469,8 @@
('-2147483649L', 8, -1),
('%dL-1L' % (1-2**63), 8, -1)]
for hidden_value, expected_size, expected_minus1 in cases:
+ if sys.platform == 'win32' and 'U' in hidden_value:
+ continue # skipped on Windows
ffi = FFI()
ffi.cdef("enum foo_e { AA, BB, ... };")
lib = ffi.verify("enum foo_e { AA, BB=%s };" % hidden_value)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit