[Scipy-svn] r5444 - branches/0.7.x/scipy/weave/tests

scipy-svn@scip... scipy-svn@scip...
Mon Jan 12 03:13:45 CST 2009


Author: cdavid
Date: 2009-01-12 03:13:39 -0600 (Mon, 12 Jan 2009)
New Revision: 5444

Modified:
   branches/0.7.x/scipy/weave/tests/test_ext_tools.py
   branches/0.7.x/scipy/weave/tests/test_inline_tools.py
Log:
And more test failures tagged as known on windows.

Modified: branches/0.7.x/scipy/weave/tests/test_ext_tools.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_ext_tools.py	2009-01-12 08:58:35 UTC (rev 5443)
+++ branches/0.7.x/scipy/weave/tests/test_ext_tools.py	2009-01-12 09:13:39 UTC (rev 5444)
@@ -15,12 +15,14 @@
 
 class TestExtModule(TestCase):
     #should really do some testing of where modules end up
+    @dec.knownfailureif(sys.platform=='win32')
     @dec.slow
     def test_simple(self):
         """ Simplest possible module """
         mod = ext_tools.ext_module('simple_ext_module')
         mod.compile(location = build_dir)
         import simple_ext_module
+    @dec.knownfailureif(sys.platform=='win32')
     @dec.slow
     def test_multi_functions(self):
         mod = ext_tools.ext_module('module_multi_function')
@@ -59,6 +61,7 @@
         import ext_module_with_include
         ext_module_with_include.test(a)
 
+    @dec.knownfailureif(sys.platform=='win32')
     @dec.slow
     def test_string_and_int(self):
         # decalaring variables
@@ -76,6 +79,7 @@
         c = ext_string_and_int.test(a,b)
         assert(c == len(b))
 
+    @dec.knownfailureif(sys.platform=='win32')
     @dec.slow
     def test_return_tuple(self):
         # decalaring variables
@@ -100,6 +104,7 @@
 
 class TestExtFunction(TestCase):
     #should really do some testing of where modules end up
+    @dec.knownfailureif(sys.platform=='win32')
     @dec.slow
     def test_simple(self):
         """ Simplest possible function """

Modified: branches/0.7.x/scipy/weave/tests/test_inline_tools.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_inline_tools.py	2009-01-12 08:58:35 UTC (rev 5443)
+++ branches/0.7.x/scipy/weave/tests/test_inline_tools.py	2009-01-12 09:13:39 UTC (rev 5444)
@@ -1,3 +1,5 @@
+import sys
+
 from numpy import *
 from numpy.testing import *
 
@@ -8,6 +10,7 @@
 
          I'd like to benchmark these things somehow.
     """
+    @dec.knownfailureif(sys.platform=='win32')
     @dec.slow
     def test_exceptions(self):
         a = 3



More information about the Scipy-svn mailing list