We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f9d410 commit fede274Copy full SHA for fede274
cabal-install/tests/IntegrationTests2.hs
@@ -1436,9 +1436,11 @@ testSetupScriptStyles config reportSubCase = do
1436
1437
let isOSX (Platform _ OSX) = True
1438
isOSX _ = False
1439
+ compilerVer = compilerVersion (pkgConfigCompiler sharedConfig)
1440
-- Skip the Custom tests when the shipped Cabal library is buggy
- unless (isOSX (pkgConfigPlatform sharedConfig)
1441
- && compilerVersion (pkgConfigCompiler sharedConfig) < mkVersion [7,10]) $ do
+ unless ((isOSX (pkgConfigPlatform sharedConfig) && (compilerVer < mkVersion [7,10]))
1442
+ -- 9.10 ships Cabal 3.12.0.0 affected by #9940
1443
+ || (mkVersion [9,10] <= compilerVer && compilerVer < mkVersion [9,11])) $ do
1444
1445
(plan1, res1) <- executePlan plan0
1446
pkg1 <- expectPackageInstalled plan1 res1 pkgidA
0 commit comments