[Scipy-svn] r5049 - trunk/scipy/lib/lapack/tests

scipy-svn@scip... scipy-svn@scip...
Mon Nov 10 10:53:06 CST 2008


Author: cdavid
Date: 2008-11-10 10:52:13 -0600 (Mon, 10 Nov 2008)
New Revision: 5049

Modified:
   trunk/scipy/lib/lapack/tests/test_esv.py
Log:
Handle more missing funcs in ATLAS 3.6.0 clapack.

Modified: trunk/scipy/lib/lapack/tests/test_esv.py
===================================================================
--- trunk/scipy/lib/lapack/tests/test_esv.py	2008-11-10 16:49:08 UTC (rev 5048)
+++ trunk/scipy/lib/lapack/tests/test_esv.py	2008-11-10 16:52:13 UTC (rev 5049)
@@ -104,7 +104,8 @@
         self._test_syevr_ranges('dsyevr', 'F')
 
     # Clapack tests
-    @dec.skipif(CLAPACK_IS_EMPTY, "Clapack empty, skip clapack test")
+    @dec.skipif(CLAPACK_IS_EMPTY or not FUNCS_CLAPACK["ssyev"], 
+                "Clapack empty, skip clapack test")
     def test_clapack_ssyev(self):
         self._test_base('ssyev', 'C')
 
@@ -113,19 +114,23 @@
     def test_clapack_dsyev(self):
         self._test_base('dsyev', 'C')
 
-    @dec.skipif(CLAPACK_IS_EMPTY, "Clapack empty, skip clapack test")
+    @dec.skipif(CLAPACK_IS_EMPTY or not FUNCS_CLAPACK["ssyevr"], 
+                "Clapack empty, skip clapack test")
     def test_clapack_ssyevr(self):
         self._test_base('ssyevr', 'C')
 
-    @dec.skipif(CLAPACK_IS_EMPTY, "Clapack empty, skip clapack test")
+    @dec.skipif(CLAPACK_IS_EMPTY or not FUNCS_CLAPACK["dsyevr"], 
+                "Clapack empty, skip clapack test")
     def test_clapack_dsyevr(self):
         self._test_base('dsyevr', 'C')
 
-    @dec.skipif(CLAPACK_IS_EMPTY, "Clapack empty, skip clapack test")
+    @dec.skipif(CLAPACK_IS_EMPTY or not FUNCS_CLAPACK["ssyevr"], 
+                "Clapack empty, skip clapack test")
     def test_clapack_ssyevr_ranges(self):
         self._test_syevr_ranges('ssyevr', 'C')
 
-    @dec.skipif(CLAPACK_IS_EMPTY, "Clapack empty, skip clapack test")
+    @dec.skipif(CLAPACK_IS_EMPTY or not FUNCS_CLAPACK["dsyevr"], 
+                "Clapack empty, skip clapack test")
     def test_clapack_dsyevr_ranges(self):
         self._test_syevr_ranges('dsyevr', 'C')
 



More information about the Scipy-svn mailing list