Skip to content

Commit

Permalink
GHC 9.10 compat in tests: disable tests regressing due to #9940
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses4ever committed Apr 28, 2024
1 parent 3a8aa16 commit e391702
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cabal-install/tests/IntegrationTests2.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1436,9 +1436,11 @@ testSetupScriptStyles config reportSubCase = do

let isOSX (Platform _ OSX) = True
isOSX _ = False
compilerVer = compilerVersion (pkgConfigCompiler sharedConfig)
-- Skip the Custom tests when the shipped Cabal library is buggy
unless (isOSX (pkgConfigPlatform sharedConfig)
&& compilerVersion (pkgConfigCompiler sharedConfig) < mkVersion [7,10]) $ do
&& ((compilerVer < mkVersion [7,10])
|| (compilerVer >= mkVersion [9,10] && compilerVer < mkVersion [9.11]))) $ do

(plan1, res1) <- executePlan plan0
pkg1 <- expectPackageInstalled plan1 res1 pkgidA
Expand Down

0 comments on commit e391702

Please sign in to comment.