-
Notifications
You must be signed in to change notification settings - Fork 685
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip bkpcabal01 test on GHC 8.2.2 due to #4908
Also tweaks testcase's .cabal metadata
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
5 changes: 4 additions & 1 deletion
5
cabal-testsuite/PackageTests/Backpack/bkpcabal01/bkpcabal01.cabal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
cabal-testsuite/PackageTests/Backpack/bkpcabal01/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import Test.Cabal.Prelude | ||
main = cabalTest $ do | ||
skipUnless =<< ghcVersionIs (>= mkVersion [8,2]) | ||
-- GHC 8.2.2 had a regression ("unknown package: hole"), see also #4908 | ||
skipUnless =<< ghcVersionIs (\v -> v >= mkVersion [8,2] && v /= mkVersion [8,2,2]) | ||
cabal "v2-build" ["all"] |