Skip to content

Commit d0668f3

Browse files
committed
disable tests for older version of GHC
those older versions depend on ghc-heap-view which depends on ghc. this is a fundamental package whose deps cannot be upgraded as part of an install plan. unfortunately, newer contrib packages depend on a newer 'binary' package, which is one of those packages that cannot be upgraded.
1 parent 72fdeef commit d0668f3

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

strict-containers-tests/StrictTests.hs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ module Main (main) where
77
import Test.Tasty (TestTree, defaultMain, testGroup)
88
import Test.Tasty.HUnit
99

10-
#if __GLASGOW_HASKELL__ >= 806
1110
import GHC.Exts.Heap
12-
#else
13-
import GHC.HeapView
14-
#endif
1511

1612
import qualified Data.Strict.HashMap as SHM
1713
import qualified Data.Strict.IntMap as SIM

strict-containers-tests/strict-containers-tests.cabal

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ Homepage: https://github.com/haskellari/strict-containers
1111
Cabal-Version: >= 1.10
1212
Build-type: Simple
1313
tested-with:
14-
GHC ==8.2.2
15-
|| ==8.4.4
16-
|| ==8.6.5
14+
GHC ==8.6.5
1715
|| ==8.8.4
1816
|| ==8.10.7
1917
|| ==9.0.2
@@ -38,13 +36,9 @@ test-suite strictness-tests
3836
, strict >= 0.4 && < 0.5
3937
, vector >= 0.13.0.0 && < 0.14
4038

41-
if impl(ghc >= 8.6)
42-
build-depends: ghc-heap
43-
else
44-
build-depends: ghc-heap-view
45-
4639
build-depends:
47-
HUnit
40+
ghc-heap
41+
, HUnit
4842
, QuickCheck >=2.7.1
4943
, tasty
5044
, tasty-hunit

0 commit comments

Comments
 (0)