[py-svn] r10286 - py/branch/py-collect/c-extension

hpk at codespeak.net hpk at codespeak.net
Mon Apr 4 15:46:56 CEST 2005


Author: hpk
Date: Mon Apr  4 15:46:55 2005
New Revision: 10286

Modified:
   py/branch/py-collect/c-extension/conftest.py
Log:
exclude c-extensions from testing for the time being


Modified: py/branch/py-collect/c-extension/conftest.py
==============================================================================
--- py/branch/py-collect/c-extension/conftest.py	(original)
+++ py/branch/py-collect/c-extension/conftest.py	Mon Apr  4 15:46:55 2005
@@ -1,8 +1,13 @@
 import py
 
 class Directory(py.test.Directory):
-    def recfilter(self, path):
-        if py.std.sys.platform == 'linux2': 
-            if path.basename == 'greenlet':
-                return False
-        return super(Directory, self).recfilter(path)
+    # XXX see in which situations/platforms we want
+    #     run tests here 
+    #def recfilter(self, path):
+    #    if py.std.sys.platform == 'linux2': 
+    #        if path.basename == 'greenlet':
+    #            return False
+    #    return super(Directory, self).recfilter(path)
+    
+    def run(self): 
+        py.test.skip("c-extension testing needs platform selection") 



More information about the pytest-commit mailing list