Skip to content

Commit

Permalink
Make 'tests' a test-suite.
Browse files Browse the repository at this point in the history
See haskell/cabal#3881 for gory details.
  • Loading branch information
23Skidoo committed Sep 21, 2016
1 parent 50a8f39 commit 1a74673
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions hpqtypes.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ Source-repository head
Type: git
Location: [email protected]:scrive/log.git

Flag tests
description: Build test suite
default: False

library
exposed-modules: Data.Monoid.Utils
, Database.PostgreSQL.PQTypes
Expand Down Expand Up @@ -173,13 +169,9 @@ library
, TypeFamilies
, TypeOperators
, UndecidableInstances

Executable tests
if flag(tests)
buildable: True
else
buildable: False

test-suite hpqtypes-tests
type: exitcode-stdio-1.0
ghc-options: -O2 -Wall -funbox-strict-fields -threaded

hs-source-dirs: test
Expand Down

0 comments on commit 1a74673

Please sign in to comment.