diff options
author | Alberto Ruiz <aruiz@um.es> | 2011-12-14 13:08:43 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2011-12-14 13:08:43 +0100 |
commit | 77552d080e88fc70312f55fd3303fac3464ab46e (patch) | |
tree | 1dc87dd22ce0da0f1807765568fbc04285bf3621 /hmatrix.cabal | |
parent | c3bda2d38c432fb53ce456cba295b097fd4d6ad1 (diff) |
new package hmatrix-tests
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r-- | hmatrix.cabal | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal index bfe875d..44ec865 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal | |||
@@ -1,5 +1,5 @@ | |||
1 | Name: hmatrix | 1 | Name: hmatrix |
2 | Version: 0.12.0.2 | 2 | Version: 0.13.0.0 |
3 | License: GPL | 3 | License: GPL |
4 | License-file: LICENSE | 4 | License-file: LICENSE |
5 | Author: Alberto Ruiz | 5 | Author: Alberto Ruiz |
@@ -27,11 +27,9 @@ cabal-version: >=1.6 | |||
27 | 27 | ||
28 | build-type: Custom | 28 | build-type: Custom |
29 | 29 | ||
30 | extra-source-files: lib/Numeric/LinearAlgebra/Tests/quickCheckCompat.h | 30 | extra-source-files: Config.hs THANKS INSTALL CHANGES |
31 | Config.hs THANKS INSTALL CHANGES | ||
32 | 31 | ||
33 | extra-source-files: examples/tests.hs | 32 | extra-source-files: examples/deriv.hs |
34 | examples/deriv.hs | ||
35 | examples/integrate.hs | 33 | examples/integrate.hs |
36 | examples/minimize.hs | 34 | examples/minimize.hs |
37 | examples/root.hs | 35 | examples/root.hs |
@@ -60,10 +58,6 @@ extra-source-files: examples/tests.hs | |||
60 | extra-source-files: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h, | 58 | extra-source-files: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h, |
61 | lib/Numeric/LinearAlgebra/LAPACK/clapack.h | 59 | lib/Numeric/LinearAlgebra/LAPACK/clapack.h |
62 | 60 | ||
63 | flag tests | ||
64 | description: Build tests | ||
65 | default: True | ||
66 | |||
67 | flag dd | 61 | flag dd |
68 | description: svd = zgesdd | 62 | description: svd = zgesdd |
69 | default: True | 63 | default: True |
@@ -152,12 +146,6 @@ library | |||
152 | Build-Depends: binary | 146 | Build-Depends: binary |
153 | cpp-options: -DBINARY | 147 | cpp-options: -DBINARY |
154 | 148 | ||
155 | if flag(tests) | ||
156 | Build-Depends: QuickCheck, HUnit, random | ||
157 | exposed-modules: Numeric.LinearAlgebra.Tests | ||
158 | other-modules: Numeric.LinearAlgebra.Tests.Instances, | ||
159 | Numeric.LinearAlgebra.Tests.Properties | ||
160 | |||
161 | -- ghc-prof-options: -auto | 149 | -- ghc-prof-options: -auto |
162 | 150 | ||
163 | ghc-options: -Wall -fno-warn-missing-signatures | 151 | ghc-options: -Wall -fno-warn-missing-signatures |
@@ -220,7 +208,5 @@ source-repository head | |||
220 | type: git | 208 | type: git |
221 | location: https://github.com/AlbertoRuiz/hmatrix | 209 | location: https://github.com/AlbertoRuiz/hmatrix |
222 | 210 | ||
223 | -- Test-Suite tests | 211 | -- The tests are in package hmatrix-tests |
224 | -- type: exitcode-stdio-1.0 | ||
225 | -- main-is: examples/tests.hs | ||
226 | 212 | ||