[pypy-commit] cffi default: Skip these tests on OS/X too.

arigo noreply at buildbot.pypy.org
Fri Sep 28 12:14:46 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r979:614f97f0de2a
Date: 2012-09-28 12:14 +0200
http://bitbucket.org/cffi/cffi/changeset/614f97f0de2a/

Log:	Skip these tests on OS/X too.

diff --git a/c/test_c.py b/c/test_c.py
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -985,7 +985,7 @@
     assert strlenaddr == cast(BVoidP, strlen)
 
 def test_read_variable():
-    if sys.platform == 'win32':
+    if sys.platform == 'win32' or sys.platform == 'darwin':
         py.test.skip("untested")
     BVoidP = new_pointer_type(new_void_type())
     ll = find_and_load_library('c')
@@ -993,7 +993,7 @@
     assert stderr == cast(BVoidP, _testfunc(8))
 
 def test_read_variable_as_unknown_length_array():
-    if sys.platform == 'win32':
+    if sys.platform == 'win32' or sys.platform == 'darwin':
         py.test.skip("untested")
     BCharP = new_pointer_type(new_primitive_type("char"))
     BArray = new_array_type(BCharP, None)
@@ -1003,7 +1003,7 @@
     # ^^ and not 'char[]', which is basically not allowed and would crash
 
 def test_write_variable():
-    if sys.platform == 'win32':
+    if sys.platform == 'win32' or sys.platform == 'darwin':
         py.test.skip("untested")
     BVoidP = new_pointer_type(new_void_type())
     ll = find_and_load_library('c')


More information about the pypy-commit mailing list