Skip to content

Commit d7e450e

Browse files
committed
Mark ForeignLibs broken for win and 9.0
Referencing issue haskell#7989
1 parent 01ca85a commit d7e450e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ main = setupAndCabalTest . recordMode DoNotRecord $ do
2727
-- Foreign libraries don't work with GHC 7.6 and earlier
2828
skipUnlessGhcVersion ">= 7.8"
2929
osx <- isOSX
30-
ghc <- isGhcVersion "== 8.0.2"
31-
expectBrokenIf (osx && ghc) 7989 $
30+
ghc80 <- isGhcVersion "== 8.0.2"
31+
win <- isWindows
32+
ghcGreaterThan90 <- isGhcVersion ">= 9.0"
33+
expectBrokenIf ((osx && ghc80) || (win && ghcGreaterThan90)) 7989 $
3234
withPackageDb $ do
3335
setup_install []
3436
setup "copy" [] -- regression test #4156

0 commit comments

Comments
 (0)