Skip to content

Commit

Permalink
Add top-level QuickCheck test support.
Browse files Browse the repository at this point in the history
The "real" tests remain in tests/tests - this test suite is built without
optimization, and simply lets us do a quick pass/fail during automated builds.
  • Loading branch information
bos committed Aug 22, 2011
1 parent 4f91a89 commit cd48c48
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion text.cabal
Expand Up @@ -40,7 +40,7 @@ maintainer: Bryan O'Sullivan <bos@serpentine.com>
copyright: 2009-2011 Bryan O'Sullivan, 2008-2009 Tom Harper
category: Data, Text
build-type: Simple
cabal-version: >= 1.6
cabal-version: >= 1.8
extra-source-files:
README.markdown
-- scripts/CaseFolding.txt
Expand Down Expand Up @@ -137,6 +137,30 @@ library
cpp-options: -DINTEGER_GMP
build-depends: integer >= 0.1 && < 0.2

test-suite tests
type: exitcode-stdio-1.0
hs-source-dirs: . tests/tests/src
main-is: Data/Text/Tests.hs
c-sources: cbits/cbits.c

ghc-options:
-Wall -threaded -O0 -rtsopts

cpp-options:
-DASSERTS -DHAVE_DEEPSEQ

build-depends:
base >= 4 && < 5,
bytestring >= 0.9 && < 0.10,
deepseq >= 1.1 && < 1.2,
directory >= 1.1 && < 1.2,
random >= 1.0 && < 1.1,
QuickCheck >= 2.4 && < 2.5,
HUnit >= 1.2 && < 1.3,
test-framework >= 0.4 && < 0.5,
test-framework-quickcheck2 >= 0.2 && < 0.3,
test-framework-hunit >= 0.2 && < 0.3

source-repository head
type: git
location: https://github.com/bos/text
Expand Down

0 comments on commit cd48c48

Please sign in to comment.