From 8fa52b8faa9c382da2585f3e80f5d7067e1fcee5 Mon Sep 17 00:00:00 2001 From: Dominic Steinitz Date: Sun, 15 Apr 2018 10:11:08 +0100 Subject: Start of tests and examples --- packages/sundials/hmatrix-sundials.cabal | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/sundials/hmatrix-sundials.cabal b/packages/sundials/hmatrix-sundials.cabal index 5aa4373..7bf34fa 100644 --- a/packages/sundials/hmatrix-sundials.cabal +++ b/packages/sundials/hmatrix-sundials.cabal @@ -29,13 +29,14 @@ library other-modules: Types, Arkode c-sources: src/helpers.c src/helpers.h + default-language: Haskell2010 -executable sundials +test-suite hmatrix-sundials-testsuite + type: exitcode-stdio-1.0 main-is: Main.hs other-modules: Types, Numeric.Sundials.ARKode.ODE, Arkode - other-extensions: QuasiQuotes build-depends: base >=4.10 && <4.11, inline-c >=0.6 && <0.7, vector >=0.12 && <0.13, @@ -51,3 +52,4 @@ executable sundials default-language: Haskell2010 extra-libraries: sundials_arkode c-sources: src/helpers.c src/helpers.h + default-language: Haskell2010 -- cgit v1.2.3