diff options
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 |