@@ -40,7 +40,7 @@ maintainer: Bryan O'Sullivan <bos@serpentine.com>
40copyright: 2009-2011 Bryan O'Sullivan, 2008-2009 Tom Harper
40copyright: 2009-2011 Bryan O'Sullivan, 2008-2009 Tom Harper
41category: Data, Text
41category: Data, Text
42build-type: Simple
42build-type: Simple
43−cabal-version: >= 1.6
43+cabal-version: >= 1.8
44extra-source-files:
44extra-source-files:
45 README.markdown
45 README.markdown
46 -- scripts/CaseFolding.txt
46 -- scripts/CaseFolding.txt
@@ -137,6 +137,30 @@ library
137 cpp-options: -DINTEGER_GMP
137 cpp-options: -DINTEGER_GMP
138 build-depends: integer >= 0.1 && < 0.2
138 build-depends: integer >= 0.1 && < 0.2
141+ type: exitcode-stdio-1.0
142+ hs-source-dirs: . tests/tests/src
143+ main-is: Data/Text/Tests.hs
144+ c-sources: cbits/cbits.c
147+ -Wall -threaded -O0 -rtsopts
150+ -DASSERTS -DHAVE_DEEPSEQ
154+ bytestring >= 0.9 && < 0.10,
155+ deepseq >= 1.1 && < 1.2,
156+ directory >= 1.1 && < 1.2,
157+ random >= 1.0 && < 1.1,
158+ QuickCheck >= 2.4 && < 2.5,
159+ HUnit >= 1.2 && < 1.3,
160+ test-framework >= 0.4 && < 0.5,
161+ test-framework-quickcheck2 >= 0.2 && < 0.3,
162+ test-framework-hunit >= 0.2 && < 0.3
140source-repository head
164source-repository head
141 type: git
165 type: git
142 location: https://github.com/bos/text
166 location: https://github.com/bos/text