Author: matti
Branch: windows
Changeset: r1283:97ac0788b770
Date: 2013-07-18 21:04 +0300
http://bitbucket.org/cffi/cffi/changeset/97ac0788b770/
Log: skip tests in windows that crash the interpreter (64 bit)
diff --git a/c/test_c.py b/c/test_c.py
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -977,6 +977,9 @@
py.test.raises(TypeError, f, x[0])
def test_call_function_21():
+ import os
+ if os.name == 'nt':
+ py.test.skip('crashes the interpreter')
BInt = new_primitive_type("int")
BStruct = new_struct_type("struct foo")
complete_struct_or_union(BStruct, [('a', BInt, -1),
@@ -996,6 +999,9 @@
assert res == sum(lst)
def test_call_function_22():
+ import os
+ if os.name == 'nt':
+ py.test.skip('crashes the interpreter')
BInt = new_primitive_type("int")
BArray10 = new_array_type(new_pointer_type(BInt), 10)
BStruct = new_struct_type("struct foo")
@@ -1231,6 +1237,9 @@
assert f(-142) == -142 + i
def test_callback_returning_struct():
+ import os
+ if os.name == 'nt':
+ py.test.skip('crashes the interpreter')
BSChar = new_primitive_type("signed char")
BInt = new_primitive_type("int")
BDouble = new_primitive_type("double")
@@ -1250,6 +1259,9 @@
assert s.b == 1E-42
def test_callback_returning_big_struct():
+ import os
+ if os.name == 'nt':
+ py.test.skip('crashes the interpreter')
BInt = new_primitive_type("int")
BStruct = new_struct_type("struct foo")
BStructPtr = new_pointer_type(BStruct)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit