File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
cabal-testsuite/PackageTests Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import Test.Cabal.Prelude
2
2
main = cabalTest $ do
3
3
-- NB: This variant seems to use the bootstrapped Cabal?
4
4
skipUnless =<< hasCabalForGhc
5
+ -- implicit setup-depends conflict with GHC >= 8.2; c.f. #415
6
+ skipIf =<< (ghcVersionIs (>= mkVersion [8 ,2 ]))
5
7
-- This test depends heavily on what packages are in the global
6
8
-- database, don't record the output
7
9
recordMode DoNotRecord $ do
Original file line number Diff line number Diff line change 1
1
import Test.Cabal.Prelude
2
2
main = cabalTest $ do
3
+ -- implicit setup-depends conflict with GHC >= 8.2; c.f. #415
4
+ skipIf =<< (ghcVersionIs (>= mkVersion [8 ,2 ]))
3
5
-- Regression test for #4393
4
6
recordMode DoNotRecord $ do
5
7
-- TODO: Hack; see also CustomDep/cabal.test.hs
Original file line number Diff line number Diff line change @@ -5,8 +5,11 @@ main = cabalTest $
5
5
-- extra constraint that setup Cabal must be 1.20. If we don't
6
6
-- have a choice like this available, the unsatisfied constraint
7
7
-- won't be reported.
8
+ --
9
+ -- Due to #415, the lower bound may be even higher based on GHC
10
+ -- version
8
11
withRepo " repo" $ do
9
12
-- Don't record because output wobbles based on installed database.
10
13
recordMode DoNotRecord $ do
11
14
fails (cabal' " new-build" [] ) >>=
12
- assertOutputContains " Setup.hs requires >=1.20 "
15
+ assertOutputContains " Setup.hs requires >="
You can’t perform that action at this time.
0 commit comments