on master help sign in
Readd test suites
b05d950Matthew Bauer
text.cabal+102−102
@@ -172,114 +172,114 @@ library
172 cpp-options: -DINTEGER_GMP
172 cpp-options: -DINTEGER_GMP
173 build-depends: integer-gmp >= 0.2
173 build-depends: integer-gmp >= 0.2
174
174
175−-- test-suite tests
175+test-suite tests
176−-- type: exitcode-stdio-1.0
176+ type: exitcode-stdio-1.0
177−-- c-sources: cbits/cbits.c
177+ c-sources: cbits/cbits.c
178−-- include-dirs: include
178+ include-dirs: include
179
179
180−-- ghc-options:
180+ ghc-options:
181−-- -Wall -threaded -rtsopts
181+ -Wall -threaded -rtsopts
182
182
183−-- cpp-options:
183+ cpp-options:
184−-- -DASSERTS -DHAVE_DEEPSEQ -DTEST_SUITE
184+ -DASSERTS -DHAVE_DEEPSEQ -DTEST_SUITE
185
185
186−-- -- modules specific to test-suite
186+ -- modules specific to test-suite
187−-- hs-source-dirs: tests
187+ hs-source-dirs: tests
188−-- main-is: Tests.hs
188+ main-is: Tests.hs
189−-- other-modules:
189+ other-modules:
190−-- Tests.Properties
190+ Tests.Properties
191−-- Tests.Properties.Mul
191+ Tests.Properties.Mul
192−-- Tests.QuickCheckUtils
192+ Tests.QuickCheckUtils
193−-- Tests.Regressions
193+ Tests.Regressions
194−-- Tests.SlowFunctions
194+ Tests.SlowFunctions
195−-- Tests.Utils
195+ Tests.Utils
196
196
197−-- -- Same as in `library` stanza; this is needed by cabal for accurate
197+ -- Same as in `library` stanza; this is needed by cabal for accurate
198−-- -- file-monitoring as well as to avoid `-Wmissing-home-modules`
198+ -- file-monitoring as well as to avoid `-Wmissing-home-modules`
199−-- -- warnings We can't use an inter-package library dependency because
199+ -- warnings We can't use an inter-package library dependency because
200−-- -- of different `ghc-options`/`cpp-options` (as a side-benefitt,
200+ -- of different `ghc-options`/`cpp-options` (as a side-benefitt,
201−-- -- this enables per-component build parallelism in `cabal
201+ -- this enables per-component build parallelism in `cabal
202−-- -- new-build`!); We could, however, use cabal-version:2.2's `common`
202+ -- new-build`!); We could, however, use cabal-version:2.2's `common`
203−-- -- blocks at some point in the future to reduce the duplication.
203+ -- blocks at some point in the future to reduce the duplication.
204−-- hs-source-dirs: .
204+ hs-source-dirs: .
205−-- other-modules:
205+ other-modules:
206−-- Data.Text
206+ Data.Text
207−-- Data.Text.Array
207+ Data.Text.Array
208−-- Data.Text.Encoding
208+ Data.Text.Encoding
209−-- Data.Text.Encoding.Error
209+ Data.Text.Encoding.Error
210−-- Data.Text.Foreign
210+ Data.Text.Foreign
211−-- Data.Text.IO
211+ Data.Text.IO
212−-- Data.Text.Internal
212+ Data.Text.Internal
213−-- Data.Text.Internal.Builder
213+ Data.Text.Internal.Builder
214−-- Data.Text.Internal.Builder.Functions
214+ Data.Text.Internal.Builder.Functions
215−-- Data.Text.Internal.Builder.Int.Digits
215+ Data.Text.Internal.Builder.Int.Digits
216−-- Data.Text.Internal.Builder.RealFloat.Functions
216+ Data.Text.Internal.Builder.RealFloat.Functions
217−-- Data.Text.Internal.Encoding.Fusion
217+ Data.Text.Internal.Encoding.Fusion
218−-- Data.Text.Internal.Encoding.Fusion.Common
218+ Data.Text.Internal.Encoding.Fusion.Common
219−-- Data.Text.Internal.Encoding.Utf16
219+ Data.Text.Internal.Encoding.Utf16
220−-- Data.Text.Internal.Encoding.Utf32
220+ Data.Text.Internal.Encoding.Utf32
221−-- Data.Text.Internal.Encoding.Utf8
221+ Data.Text.Internal.Encoding.Utf8
222−-- Data.Text.Internal.Functions
222+ Data.Text.Internal.Functions
223−-- Data.Text.Internal.Fusion
223+ Data.Text.Internal.Fusion
224−-- Data.Text.Internal.Fusion.CaseMapping
224+ Data.Text.Internal.Fusion.CaseMapping
225−-- Data.Text.Internal.Fusion.Common
225+ Data.Text.Internal.Fusion.Common
226−-- Data.Text.Internal.Fusion.Size
226+ Data.Text.Internal.Fusion.Size
227−-- Data.Text.Internal.Fusion.Types
227+ Data.Text.Internal.Fusion.Types
228−-- Data.Text.Internal.IO
228+ Data.Text.Internal.IO
229−-- Data.Text.Internal.Lazy
229+ Data.Text.Internal.Lazy
230−-- Data.Text.Internal.Lazy.Encoding.Fusion
230+ Data.Text.Internal.Lazy.Encoding.Fusion
231−-- Data.Text.Internal.Lazy.Fusion
231+ Data.Text.Internal.Lazy.Fusion
232−-- Data.Text.Internal.Lazy.Search
232+ Data.Text.Internal.Lazy.Search
233−-- Data.Text.Internal.Private
233+ Data.Text.Internal.Private
234−-- Data.Text.Internal.Read
234+ Data.Text.Internal.Read
235−-- Data.Text.Internal.Search
235+ Data.Text.Internal.Search
236−-- Data.Text.Internal.Unsafe
236+ Data.Text.Internal.Unsafe
237−-- Data.Text.Internal.Unsafe.Char
237+ Data.Text.Internal.Unsafe.Char
238−-- Data.Text.Internal.Unsafe.Shift
238+ Data.Text.Internal.Unsafe.Shift
239−-- Data.Text.Lazy
239+ Data.Text.Lazy
240−-- Data.Text.Lazy.Builder
240+ Data.Text.Lazy.Builder
241−-- Data.Text.Lazy.Builder.Int
241+ Data.Text.Lazy.Builder.Int
242−-- Data.Text.Lazy.Builder.RealFloat
242+ Data.Text.Lazy.Builder.RealFloat
243−-- Data.Text.Lazy.Encoding
243+ Data.Text.Lazy.Encoding
244−-- Data.Text.Lazy.IO
244+ Data.Text.Lazy.IO
245−-- Data.Text.Lazy.Internal
245+ Data.Text.Lazy.Internal
246−-- Data.Text.Lazy.Read
246+ Data.Text.Lazy.Read
247−-- Data.Text.Read
247+ Data.Text.Read
248−-- Data.Text.Unsafe
248+ Data.Text.Unsafe
249−-- Data.Text.Show
249+ Data.Text.Show
250
250
251−-- build-depends:
251+ build-depends:
252−-- HUnit >= 1.2,
252+ HUnit >= 1.2,
253−-- QuickCheck >= 2.7 && < 2.10,
253+ QuickCheck >= 2.7 && < 2.10,
254−-- array,
254+ array,
255−-- base,
255+ base,
256−-- binary,
256+ binary,
257−-- deepseq,
257+ deepseq,
258−-- directory,
258+ directory,
259−-- ghc-prim,
259+ ghc-prim,
260−-- quickcheck-unicode >= 1.0.1.0,
260+ quickcheck-unicode >= 1.0.1.0,
261−-- random,
261+ random,
262−-- test-framework >= 0.4,
262+ test-framework >= 0.4,
263−-- test-framework-hunit >= 0.2,
263+ test-framework-hunit >= 0.2,
264−-- test-framework-quickcheck2 >= 0.2
264+ test-framework-quickcheck2 >= 0.2
265
265
266−-- if flag(bytestring-builder)
266+ if flag(bytestring-builder)
267−-- build-depends: bytestring >= 0.9 && < 0.10.4,
267+ build-depends: bytestring >= 0.9 && < 0.10.4,
268−-- bytestring-builder >= 0.10.4
268+ bytestring-builder >= 0.10.4
269−-- else
269+ else
270−-- build-depends: bytestring >= 0.10.4
270+ build-depends: bytestring >= 0.10.4
271
271
272−-- if flag(integer-simple)
272+ if flag(integer-simple)
273−-- cpp-options: -DINTEGER_SIMPLE
273+ cpp-options: -DINTEGER_SIMPLE
274−-- build-depends: integer-simple >= 0.1 && < 0.5
274+ build-depends: integer-simple >= 0.1 && < 0.5
275−-- else
275+ else
276−-- cpp-options: -DINTEGER_GMP
276+ cpp-options: -DINTEGER_GMP
277−-- build-depends: integer-gmp >= 0.2
277+ build-depends: integer-gmp >= 0.2
278
278
279−-- source-repository head
279+source-repository head
280−-- type: git
280+ type: git
281−-- location: https://github.com/haskell/text
281+ location: https://github.com/haskell/text
282
282
283−-- source-repository head
283+source-repository head
284−-- type: mercurial
284+ type: mercurial
285−-- location: https://bitbucket.org/bos/text
285+ location: https://bitbucket.org/bos/text