summaryrefslogtreecommitdiff
path: root/accelerate-sc.cabal
diff options
context:
space:
mode:
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