Skip to content

Commit

Permalink
Skip bkpcabal01 test on GHC 8.2.2 due to #4908
Browse files Browse the repository at this point in the history
Also tweaks testcase's .cabal metadata
  • Loading branch information
hvr committed Mar 13, 2019
1 parent 0afc8fb commit 011de3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
cabal-version: 2.0
name: bkpcabal01
version: 0.1.0.0
description: This test also exists in GHC's test-suite under the same name
and was ported over to cabal's testsuite as it exposed a
regression (see #5929)
license: BSD3
author: Edward Z. Yang
maintainer: ezyang@cs.stanford.edu
build-type: Simple
cabal-version: >=1.25

library impl
exposed-modules: H, I
Expand Down
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"]

0 comments on commit 011de3d

Please sign in to comment.