Skip to content
Snippets Groups Projects
Commit e4e5d894 authored by Artem Pelenitsyn's avatar Artem Pelenitsyn Committed by Mergify
Browse files

mark Windows tests failing with GHC 9.4 as broken

Tracked as #8451.

ForeignLibs test was marked as broken on Mac for GHC 8.0 but we dropped
8.0 support, so that info was removed.
parent 915a5ba6
No related branches found
No related tags found
No related merge requests found
......@@ -6,14 +6,16 @@ import Test.Cabal.Prelude
main = setupAndCabalTest $ do
skipUnlessGhcVersion ">= 8.8"
isWin <- isWindows
ghc94 <- isGhcVersion "== 9.4.*"
env <- getTestEnv
let pwd = testCurrentDir env
customCC = pwd ++ "/custom-cc" ++ if isWin then ".bat" else ""
setup "configure"
[ "--ghc-option=-DNOERROR1"
, "--ghc-option=-optc=-DNOERROR2"
, "--ghc-option=-optP=-DNOERROR3"
, "--with-gcc=" ++ customCC
]
setup "build" ["-v2"]
expectBrokenIf (isWin && ghc94) 8451 $ do
setup "configure"
[ "--ghc-option=-DNOERROR1"
, "--ghc-option=-optc=-DNOERROR2"
, "--ghc-option=-optP=-DNOERROR3"
, "--with-gcc=" ++ customCC
]
setup "build" ["-v2"]
......@@ -26,9 +26,9 @@ import Test.Cabal.Prelude
main = setupAndCabalTest . recordMode DoNotRecord $ do
-- Foreign libraries don't work with GHC 7.6 and earlier
skipUnlessGhcVersion ">= 7.8"
osx <- isOSX
ghc80 <- isGhcVersion "== 8.0.2"
expectBrokenIf (osx && ghc80) 7989 $
win <- isWindows
ghc94 <- isGhcVersion "== 9.4.*"
expectBrokenIf (win && ghc94) 8451 $
withPackageDb $ do
setup_install []
setup "copy" [] -- regression test #4156
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment