diff options
author | David Cournapeau <cournape@gmail.com> | 2010-03-31 03:45:36 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2010-03-31 03:45:36 +0000 |
commit | af2b0578c642cb269478dc3b048e59d0d79e0820 (patch) | |
tree | cc7b92f8513f19da9044efd378eee04f8f91e598 /numpy/f2py/tests | |
parent | 9475b973951f322945a518f1cab62f2a4d21fbc1 (diff) | |
download | numpy-af2b0578c642cb269478dc3b048e59d0d79e0820.tar.gz |
TST: mark slow f2py tests + add f2py test function.
Diffstat (limited to 'numpy/f2py/tests')
-rw-r--r-- | numpy/f2py/tests/test_callback.py | 1 | ||||
-rw-r--r-- | numpy/f2py/tests/test_mixed.py | 1 | ||||
-rw-r--r-- | numpy/f2py/tests/test_return_character.py | 2 | ||||
-rw-r--r-- | numpy/f2py/tests/test_return_complex.py | 2 | ||||
-rw-r--r-- | numpy/f2py/tests/test_return_integer.py | 2 | ||||
-rw-r--r-- | numpy/f2py/tests/test_return_logical.py | 2 | ||||
-rw-r--r-- | numpy/f2py/tests/test_return_real.py | 3 |
7 files changed, 13 insertions, 0 deletions
diff --git a/numpy/f2py/tests/test_callback.py b/numpy/f2py/tests/test_callback.py index aec11052e..b42e70776 100644 --- a/numpy/f2py/tests/test_callback.py +++ b/numpy/f2py/tests/test_callback.py @@ -33,6 +33,7 @@ cf2py intent(out) a end """ + @dec.slow def test_all(self): for name in "t,t2".split(","): self.check_function(name) diff --git a/numpy/f2py/tests/test_mixed.py b/numpy/f2py/tests/test_mixed.py index 53534c114..e7a64c080 100644 --- a/numpy/f2py/tests/test_mixed.py +++ b/numpy/f2py/tests/test_mixed.py @@ -14,6 +14,7 @@ class TestMixed(util.F2PyTest): _path('src', 'mixed', 'foo_fixed.f90'), _path('src', 'mixed', 'foo_free.f90')] + @dec.slow def test_all(self): assert self.module.bar11() == 11 assert self.module.foo_fixed.bar12() == 12 diff --git a/numpy/f2py/tests/test_return_character.py b/numpy/f2py/tests/test_return_character.py index d0dfebe87..a8ab4aaac 100644 --- a/numpy/f2py/tests/test_return_character.py +++ b/numpy/f2py/tests/test_return_character.py @@ -72,6 +72,7 @@ cf2py intent(out) ts end """ + @dec.slow def test_all(self): for name in "t0,t1,t5,s0,s1,s5,ss".split(","): self.check_function(getattr(self.module, name)) @@ -129,6 +130,7 @@ module f90_return_char end module f90_return_char """ + @dec.slow def test_all(self): for name in "t0,t1,t5,ts,s0,s1,s5,ss".split(","): self.check_function(getattr(self.module.f90_return_char, name)) diff --git a/numpy/f2py/tests/test_return_complex.py b/numpy/f2py/tests/test_return_complex.py index 7a361bae0..cff10fcde 100644 --- a/numpy/f2py/tests/test_return_complex.py +++ b/numpy/f2py/tests/test_return_complex.py @@ -97,6 +97,7 @@ cf2py intent(out) td end """ + @dec.slow def test_all(self): for name in "t0,t8,t16,td,s0,s8,s16,sd".split(","): self.check_function(getattr(self.module, name)) @@ -155,6 +156,7 @@ module f90_return_complex end module f90_return_complex """ + @dec.slow def test_all(self): for name in "t0,t8,t16,td,s0,s8,s16,sd".split(","): self.check_function(getattr(self.module.f90_return_complex, name)) diff --git a/numpy/f2py/tests/test_return_integer.py b/numpy/f2py/tests/test_return_integer.py index bc92af5b7..9285cf47f 100644 --- a/numpy/f2py/tests/test_return_integer.py +++ b/numpy/f2py/tests/test_return_integer.py @@ -95,6 +95,7 @@ cf2py intent(out) t8 end """ + @dec.slow def test_all(self): for name in "t0,t1,t2,t4,t8,s0,s1,s2,s4,s8".split(","): self.check_function(getattr(self.module, name)) @@ -164,6 +165,7 @@ module f90_return_integer end module f90_return_integer """ + @dec.slow def test_all(self): for name in "t0,t1,t2,t4,t8,s0,s1,s2,s4,s8".split(","): self.check_function(getattr(self.module.f90_return_integer, name)) diff --git a/numpy/f2py/tests/test_return_logical.py b/numpy/f2py/tests/test_return_logical.py index a1bd028c3..ab24517f2 100644 --- a/numpy/f2py/tests/test_return_logical.py +++ b/numpy/f2py/tests/test_return_logical.py @@ -105,6 +105,7 @@ c t8 = value c end """ + @dec.slow def test_all(self): for name in "t0,t1,t2,t4,s0,s1,s2,s4".split(","): self.check_function(getattr(self.module, name)) @@ -173,6 +174,7 @@ module f90_return_logical end module f90_return_logical """ + @dec.slow def test_all(self): for name in "t0,t1,t2,t4,t8,s0,s1,s2,s4,s8".split(","): self.check_function(getattr(self.module.f90_return_logical, name)) diff --git a/numpy/f2py/tests/test_return_real.py b/numpy/f2py/tests/test_return_real.py index 84f5da0ff..eae098add 100644 --- a/numpy/f2py/tests/test_return_real.py +++ b/numpy/f2py/tests/test_return_real.py @@ -77,6 +77,7 @@ end interface end python module c_ext_return_real """ + @dec.slow def test_all(self): for name in "t4,t8,s4,s8".split(","): self.check_function(getattr(self.module, name)) @@ -130,6 +131,7 @@ cf2py intent(out) td end """ + @dec.slow def test_all(self): for name in "t0,t4,t8,td,s0,s4,s8,sd".split(","): self.check_function(getattr(self.module, name)) @@ -187,6 +189,7 @@ module f90_return_real end module f90_return_real """ + @dec.slow def test_all(self): for name in "t0,t4,t8,td,s0,s4,s8,sd".split(","): self.check_function(getattr(self.module.f90_return_real, name)) |