From 301a336bdc1b43e3ce637da51653042fe670eef7 Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Sat, 24 Dec 2011 21:07:35 +0100 Subject: Use a cabal test-suite section instead of the deprecated runTests hook --- hmatrix.cabal | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'hmatrix.cabal') 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 Category: Math tested-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 -cabal-version: >=1.6 +cabal-version: >=1.8 build-type: Custom @@ -224,3 +224,16 @@ source-repository head -- type: exitcode-stdio-1.0 -- main-is: examples/tests.hs +test-suite test-hmatrix + type: exitcode-stdio-1.0 + main-is: tests.hs + build-depends: hmatrix + , base + , QuickCheck + , storable-complex + , array + , process + , HUnit + , random + hs-source-dirs: lib, examples + Extensions: ForeignFunctionInterface, CPP -- cgit v1.2.3