4 copyright: 2003-2023, 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 convenience.
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.Graph
30 UnitTests.Distribution.Compat.Time
31 UnitTests.Distribution.Described
32 UnitTests.Distribution.PkgconfigVersion
33 UnitTests.Distribution.Simple.Command
34 UnitTests.Distribution.Simple.Glob
35 UnitTests.Distribution.Simple.Program.GHC
36 UnitTests.Distribution.Simple.Program.Internal
37 UnitTests.Distribution.Simple.Utils
38 UnitTests.Distribution.SPDX
39 UnitTests.Distribution.System
40 UnitTests.Distribution.Types.GenericPackageDescription
41 UnitTests.Distribution.Utils.CharSet
42 UnitTests.Distribution.Utils.Generic
43 UnitTests.Distribution.Utils.Json
44 UnitTests.Distribution.Utils.NubList
45 UnitTests.Distribution.Utils.ShortText
46 UnitTests.Distribution.Utils.Structured
47 UnitTests.Distribution.Version
53 , 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
81 test-suite parser-tests
82 type: exitcode-stdio-1.0
84 main-is: ParserTests.hs
87 , base-compat >=0.11.0 && <0.13
94 , tasty >=1.2.3 && <1.5
95 , tasty-golden >=2.3.1.1 && <2.4
98 , tree-diff >=0.1 && <0.4
101 default-language: Haskell2010
103 test-suite check-tests
104 type: exitcode-stdio-1.0
105 hs-source-dirs: tests
106 main-is: CheckTests.hs
115 , tasty >=1.2.3 && <1.5
116 , tasty-expected-failure
117 , tasty-golden >=2.3.1.1 && <2.4
120 default-language: Haskell2010
122 test-suite custom-setup-tests
123 type: exitcode-stdio-1.0
124 hs-source-dirs: tests/custom-setup
125 main-is: CustomSetupTests.hs
138 default-language: Haskell2010
140 test-suite hackage-tests
141 type: exitcode-stdio-1.0
142 main-is: HackageTests.hs
145 hs-source-dirs: tests
158 base-compat >=0.11.0 && <0.13
159 , base-orphans >=0.6 && <0.9
160 , clock >=0.8 && <0.9
161 , optparse-applicative >=0.13.2.0 && <0.17
162 , stm >=2.4.5.0 && <2.6
163 , tar >=0.5.0.3 && <0.6
164 , tree-diff >=0.1 && <0.4
166 ghc-options: -Wall -rtsopts -threaded
167 default-extensions: CPP
168 default-language: Haskell2010
171 type: exitcode-stdio-1.0
172 main-is: RPMVerCmp.hs
173 hs-source-dirs: tests
181 , tasty >=1.2.3 && <1.5
185 c-sources: tests/cbits/rpmvercmp.c
188 default-language: Haskell2010
190 test-suite no-thunks-test
191 default-language: Haskell2010
193 type: exitcode-stdio-1.0
195 hs-source-dirs: tests
200 , tasty >=1.2.3 && <1.5
203 -- this is test is buildable on old GHCs
204 -- but it doesn't do anything.
206 build-depends: nothunks >=0.1.1.0 && <0.2