diff options
| author | Daniel Gröber <dxld@darkboxed.org> | 2018-10-27 03:58:36 +0200 | 
|---|---|---|
| committer | Daniel Gröber <dxld@darkboxed.org> | 2018-10-27 18:45:24 +0200 | 
| commit | 73cfb44be49a143d5b0d8fe0e42364d1748a206e (patch) | |
| tree | 3034779038bc3d51b8aeb482305e5961b097036a /tests | |
| parent | b95097d0307570a82ab83f78906a6650942c64ad (diff) | |
Drop GHC 7.8 support
Unfortunately we need process-1.2.3.0 for 'readCreateProcess' replacing it for
7.8 is just too much effort.
For testing's sake GHC 7.10 can still build Cabal-1.18.* but not 1.20, seems to
just need a hackage revision though. Just disable 1.20 for now. I don't think
anyone really still uses that.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CompileTest.hs | 41 | 
1 files changed, 21 insertions, 20 deletions
diff --git a/tests/CompileTest.hs b/tests/CompileTest.hs index da75198..02f4c3b 100644 --- a/tests/CompileTest.hs +++ b/tests/CompileTest.hs @@ -76,24 +76,24 @@ allCabalVersions :: Version -> [Version]  allCabalVersions ghc_ver = let      cabal_versions :: [Version]      cabal_versions = map parseVer -         [ "1.18.0" -         , "1.18.1" -         , "1.18.1.1" -         , "1.18.1.2" -         , "1.18.1.3" -         , "1.18.1.4" -         , "1.18.1.5" -         , "1.18.1.6" -         , "1.18.1.7" -         , "1.20.0.0" -         , "1.20.0.1" -         , "1.20.0.2" -         , "1.20.0.3" -         , "1.20.0.4" -         , "1.22.0.0" -         , "1.22.1.0" -         , "1.22.1.1" -         , "1.22.2.0" +         -- , "1.18.0" +         -- , "1.18.1" +         -- , "1.18.1.1" +         -- , "1.18.1.2" +         -- , "1.18.1.3" +         -- , "1.18.1.4" +         -- , "1.18.1.5" +         -- , "1.18.1.6" +         -- , "1.18.1.7" +         -- , "1.20.0.0" +         -- , "1.20.0.1" +         -- , "1.20.0.2" +         -- , "1.20.0.3" +         -- , "1.20.0.4" +         -- , "1.22.0.0" +         -- , "1.22.1.0" +         -- , "1.22.1.1" +         [ "1.22.2.0"           , "1.22.3.0"           , "1.22.4.0"           , "1.22.5.0" @@ -119,14 +119,15 @@ allCabalVersions ghc_ver = let      constraint_table =          map (parseVer *** runReadP'Dist parse) $ -            [ ("7.8"  , ">= 1.18    && < 2") -            , ("7.10" , ">= 1.22.2  && < 2") +            -- , ("7.8"  , ">= 1.18    && < 2") +            [ ("7.10" , ">= 1.22.2  && < 2")              , ("8.0.1", ">= 1.24          ")              , ("8.0.2", ">= 1.24.2        ")              , ("8.2.1", ">= 2.0.0.2       ")              , ("8.2.2", ">= 2.0.0.2       ")              , ("8.4.1", ">= 2.0.0.2       ")              , ("8.4.2", ">= 2.2.0.1       ") +            , ("8.6.1", ">= 2.4.0.0       ")              ]    in      reverse $ filter (flip withinRange'CH constraint) cabal_versions  | 
