summaryrefslogtreecommitdiff
path: root/hmatrix.cabal
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2011-12-24 21:07:35 +0100
committerBas van Dijk <v.dijk.bas@gmail.com>2011-12-24 21:07:35 +0100
commit301a336bdc1b43e3ce637da51653042fe670eef7 (patch)
tree358244acdeef2d29b22a39bb85968a5215c26aba /hmatrix.cabal
parenta4f38eb196209436f72b938f6355f6e28474bef3 (diff)
Use a cabal test-suite section instead of the deprecated runTests hook
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r--hmatrix.cabal15
1 files changed, 14 insertions, 1 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal
index bfe875d..63da6fb 100644
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -23,7 +23,7 @@ Description: Purely functional interface to basic linear algebra
23Category: Math 23Category: Math
24tested-with: GHC ==6.10.4, GHC ==6.12.1, GHC ==6.12.3, GHC ==7.0.1, GHC==7.0.2, GHC==7.2.1 24tested-with: GHC ==6.10.4, GHC ==6.12.1, GHC ==6.12.3, GHC ==7.0.1, GHC==7.0.2, GHC==7.2.1
25 25
26cabal-version: >=1.6 26cabal-version: >=1.8
27 27
28build-type: Custom 28build-type: Custom
29 29
@@ -224,3 +224,16 @@ source-repository head
224-- type: exitcode-stdio-1.0 224-- type: exitcode-stdio-1.0
225-- main-is: examples/tests.hs 225-- main-is: examples/tests.hs
226 226
227test-suite test-hmatrix
228 type: exitcode-stdio-1.0
229 main-is: tests.hs
230 build-depends: hmatrix
231 , base
232 , QuickCheck
233 , storable-complex
234 , array
235 , process
236 , HUnit
237 , random
238 hs-source-dirs: lib, examples
239 Extensions: ForeignFunctionInterface, CPP