Skip to content

Commit 213dcb3

Browse files
committed
GHC 9.10 compat in tests: disable tests regressing due to haskell#9940
1 parent 3a8aa16 commit 213dcb3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cabal-install/tests/IntegrationTests2.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1436,9 +1436,11 @@ testSetupScriptStyles config reportSubCase = do
14361436

14371437
let isOSX (Platform _ OSX) = True
14381438
isOSX _ = False
1439+
compilerVer = compilerVersion (pkgConfigCompiler sharedConfig)
14391440
-- Skip the Custom tests when the shipped Cabal library is buggy
14401441
unless (isOSX (pkgConfigPlatform sharedConfig)
1441-
&& compilerVersion (pkgConfigCompiler sharedConfig) < mkVersion [7,10]) $ do
1442+
&& (compilerVer < mkVersion [7,10])
1443+
|| compilerVer >= mkVersion [9,10])) $ do
14421444

14431445
(plan1, res1) <- executePlan plan0
14441446
pkg1 <- expectPackageInstalled plan1 res1 pkgidA

0 commit comments

Comments
 (0)