From 5c79dc285d5f1836ca887218391806bb25161b24 Mon Sep 17 00:00:00 2001 From: jneira Date: Sun, 6 Mar 2022 11:03:51 +0100 Subject: [PATCH] Mark ForeignLibs broken for win and 9.0 Referencing issue #7989 --- cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs b/cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs index 108219f29f2..8b0bf0e4b1e 100644 --- a/cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs +++ b/cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs @@ -27,8 +27,10 @@ main = setupAndCabalTest . recordMode DoNotRecord $ do -- Foreign libraries don't work with GHC 7.6 and earlier skipUnlessGhcVersion ">= 7.8" osx <- isOSX - ghc <- isGhcVersion "== 8.0.2" - expectBrokenIf (osx && ghc) 7989 $ + ghc80 <- isGhcVersion "== 8.0.2" + win <- isWindows + ghcGreaterThan90 <- isGhcVersion ">= 9.0" + expectBrokenIf ((osx && ghc80) || (win && ghcGreaterThan90)) 7989 $ withPackageDb $ do setup_install [] setup "copy" [] -- regression test #4156