@@ -4,7 +4,7 @@ synopsis: Functional tests for the text package
4description: Functional tests for the text package
4description: Functional tests for the text package
5homepage: https://bitbucket.org/bos/text
5homepage: https://bitbucket.org/bos/text
6license: BSD3
6license: BSD3
7−license-file: ../../LICENSE
7+license-file: ../LICENSE
8author: Jasper Van der Jeugt <jaspervdj@gmail.com>,
8author: Jasper Van der Jeugt <jaspervdj@gmail.com>,
9 Bryan O'Sullivan <bos@serpentine.com>,
9 Bryan O'Sullivan <bos@serpentine.com>,
10 Tom Harper <rtomharper@googlemail.com>,
10 Tom Harper <rtomharper@googlemail.com>,
@@ -20,8 +20,7 @@ flag hpc
20 default: False
20 default: False
22executable text-tests
22executable text-tests
24− main-is: Data/Text/Tests.hs
23+ main-is: Tests.hs
26 ghc-options:
25 ghc-options:
27 -Wall -threaded -O0 -rtsopts
26 -Wall -threaded -O0 -rtsopts
@@ -35,21 +34,20 @@ executable text-tests
35 -DHAVE_DEEPSEQ
34 -DHAVE_DEEPSEQ
37 build-depends:
36 build-depends:
38− text-tests,
37+ HUnit >= 1.2,
39− base >= 4 && < 5,
39+ base == 4.*,
40− bytestring >= 0.9,
40+ bytestring,
41− deepseq >= 1.1,
41+ deepseq,
42− directory >= 1.1 && < 1.2,
42+ directory,
43− random >= 1.0 && < 1.1,
43+ random,
44− QuickCheck >= 2.4 && < 2.5,
45− HUnit >= 1.2 && < 1.3,
46− test-framework >= 0.4 && < 0.5,
44+ test-framework >= 0.4,
47− test-framework-quickcheck2 >= 0.2 && < 0.3,
48− test-framework-hunit >= 0.2 && < 0.3
45+ test-framework-hunit >= 0.2,
46+ test-framework-quickcheck2 >= 0.2,
50executable text-tests-stdio
49executable text-tests-stdio
52− main-is: Data/Text/Tests/IO.hs
50+ main-is: Tests/IO.hs
54 ghc-options:
52 ghc-options:
55 -Wall -threaded -rtsopts
53 -Wall -threaded -rtsopts
@@ -64,8 +62,8 @@ executable text-tests-stdio
64 base >= 4 && < 5
62 base >= 4 && < 5
67− hs-source-dirs: ../..
65+ hs-source-dirs: ..
68− c-sources: ../../cbits/cbits.c
66+ c-sources: ../cbits/cbits.c
69 exposed-modules:
67 exposed-modules:
71 Data.Text.Array
69 Data.Text.Array
@@ -117,8 +115,8 @@ library
118 build-depends:
116 build-depends:
120− base >= 4 && < 5,
118+ base == 4.*,
121− bytestring >= 0.9,
119+ bytestring,
122− deepseq >= 1.1,
120+ deepseq,
123− integer-gmp >= 0.2 && < 0.3,
122+ integer-gmp
124− ghc-prim >= 0.2 && < 0.3