Skip to content

Commit

Permalink
new-old test failures on Windows (tracking: haskell#8451)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses4ever committed Nov 13, 2023
1 parent 399490c commit c3067d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cabal-testsuite/PackageTests/CCompilerOverride/setup.test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ main = setupAndCabalTest $ do
skipUnlessGhcVersion ">= 8.8"
isWin <- isWindows
ghc94 <- isGhcVersion "== 9.4.*"
ghc98 <- isGhcVersion "== 9.8.*"
env <- getTestEnv
let pwd = testCurrentDir env
customCC = pwd ++ "/custom-cc" ++ if isWin then ".bat" else ""

expectBrokenIf (isWin && ghc94) 8451 $ do
expectBrokenIf (isWin && (ghc94 || ghc98)) 8451 $ do
setup "configure"
[ "--ghc-option=-DNOERROR1"
, "--ghc-option=-optc=-DNOERROR2"
Expand Down
3 changes: 2 additions & 1 deletion cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ main = setupAndCabalTest . recordMode DoNotRecord $ do
skipUnlessGhcVersion ">= 7.8"
win <- isWindows
ghc94 <- isGhcVersion "== 9.4.*"
expectBrokenIf (win && ghc94) 8451 $
ghc98 <- isGhcVersion "== 9.8.*"
expectBrokenIf (win && (ghc94 || ghc98)) 8451 $ do
withPackageDb $ do
setup_install []
setup "copy" [] -- regression test #4156
Expand Down

0 comments on commit c3067d7

Please sign in to comment.