4 copyright: 2003-2021, Cabal Development Team (see AUTHORS file)
7 author: Cabal Development Team <cabal-devel@haskell.org>
8 maintainer: cabal-devel@haskell.org
9 homepage: http://www.haskell.org/cabal/
10 bug-reports: https://github.com/haskell/cabal/issues
11 synopsis: Tests for Cabal library
12 description: The tests are external for development flows convinience.
13 category: Distribution
16 source-repository head
18 location: https://github.com/haskell/cabal/
21 -- Small, fast running tests.
23 type: exitcode-stdio-1.0
28 UnitTests.Distribution.CabalSpecVersion
29 UnitTests.Distribution.Compat.CreatePipe
30 UnitTests.Distribution.Compat.Graph
31 UnitTests.Distribution.Compat.Time
32 UnitTests.Distribution.Described
33 UnitTests.Distribution.PkgconfigVersion
34 UnitTests.Distribution.Simple.Command
35 UnitTests.Distribution.Simple.Glob
36 UnitTests.Distribution.Simple.Program.GHC
37 UnitTests.Distribution.Simple.Program.Internal
38 UnitTests.Distribution.Simple.Utils
39 UnitTests.Distribution.SPDX
40 UnitTests.Distribution.System
41 UnitTests.Distribution.Types.GenericPackageDescription
42 UnitTests.Distribution.Utils.CharSet
43 UnitTests.Distribution.Utils.Generic
44 UnitTests.Distribution.Utils.Json
45 UnitTests.Distribution.Utils.NubList
46 UnitTests.Distribution.Utils.ShortText
47 UnitTests.Distribution.Utils.Structured
48 UnitTests.Distribution.Version
54 , async >=2.2.2 && <2.3
66 , integer-logarithms >=1.0.2 && <1.1
68 , QuickCheck >=2.14 && <2.15
71 , tasty >=1.2.3 && <1.5
79 default-language: Haskell2010
85 build-depends: semigroups
87 test-suite parser-tests
88 type: exitcode-stdio-1.0
90 main-is: ParserTests.hs
93 , base-compat >=0.11.0 && <0.13
100 , tasty >=1.2.3 && <1.5
101 , tasty-golden >=2.3.1.1 && <2.4
106 default-language: Haskell2010
109 build-depends: semigroups
112 build-depends: tree-diff >=0.1 && <0.3
114 test-suite check-tests
115 type: exitcode-stdio-1.0
116 hs-source-dirs: tests
117 main-is: CheckTests.hs
125 , tasty >=1.2.3 && <1.5
126 , tasty-golden >=2.3.1.1 && <2.4
129 default-language: Haskell2010
132 build-depends: semigroups
134 test-suite custom-setup-tests
135 type: exitcode-stdio-1.0
136 hs-source-dirs: tests/custom-setup
137 main-is: CustomSetupTests.hs
149 default-language: Haskell2010
151 test-suite hackage-tests
152 type: exitcode-stdio-1.0
153 main-is: HackageTests.hs
158 hs-source-dirs: tests
170 base-compat >=0.11.0 && <0.13
171 , base-orphans >=0.6 && <0.9
172 , clock >=0.8 && <0.9
173 , optparse-applicative >=0.13.2.0 && <0.17
174 , stm >=2.4.5.0 && <2.6
175 , tar >=0.5.0.3 && <0.6
178 build-depends: tree-diff >=0.1 && <0.3
180 ghc-options: -Wall -rtsopts -threaded
181 default-extensions: CPP
182 default-language: Haskell2010
185 type: exitcode-stdio-1.0
186 main-is: RPMVerCmp.hs
187 hs-source-dirs: tests
195 , tasty >=1.2.3 && <1.5
199 c-sources: tests/cbits/rpmvercmp.c
202 default-language: Haskell2010
204 test-suite no-thunks-test
205 default-language: Haskell2010
207 type: exitcode-stdio-1.0
209 hs-source-dirs: tests
214 , tasty >=1.2.3 && <1.5
217 -- this is test is buildable on old GHCs
218 -- but it doesn't do anything.
220 build-depends: nothunks >=0.1.1.0 && <0.2