summaryrefslogtreecommitdiff
path: root/accelerate-sc.cabal
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2021-10-10 19:55:59 +0200
committerTom Smeding <tom@tomsmeding.com>2021-10-10 19:55:59 +0200
commit1640830bf5dc0630481e698512064215eb3e8249 (patch)
tree229b5666508e1152b5fff77733e48539591af0ab /accelerate-sc.cabal
parentff220bfb4c4c67f666a4701f2514d8de432f1e9a (diff)
Diffstat (limited to 'accelerate-sc.cabal')
-rw-r--r--accelerate-sc.cabal15
1 files changed, 15 insertions, 0 deletions
diff --git a/accelerate-sc.cabal b/accelerate-sc.cabal
index 378bb2a..5a1923f 100644
--- a/accelerate-sc.cabal
+++ b/accelerate-sc.cabal
@@ -30,3 +30,18 @@ library
hs-source-dirs: .
default-language: Haskell2010
ghc-options: -Wall -O2
+
+test-suite test
+ type: exitcode-stdio-1.0
+ main-is: Main.hs
+ other-modules:
+ Examples.Mandel
+ Examples.Test
+ Examples.Utils.PPM
+ hs-source-dirs: test
+ ghc-options: -Wall -O2 -threaded
+ build-depends:
+ accelerate-sc,
+ base >= 4.13 && < 4.15,
+ accelerate ^>= 1.3.0.0
+ default-language: Haskell2010