From 5b5519849dc1200d6896ffad75d51e65c778bad7 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Fri, 3 Nov 2023 14:11:01 +1100 Subject: [PATCH] CI: Disable failing test for ghc-9.4.* on Windows --- cabal-testsuite/PackageTests/UniqueIPID/setup.test.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cabal-testsuite/PackageTests/UniqueIPID/setup.test.hs b/cabal-testsuite/PackageTests/UniqueIPID/setup.test.hs index d084e8c1989..9d471261c2f 100644 --- a/cabal-testsuite/PackageTests/UniqueIPID/setup.test.hs +++ b/cabal-testsuite/PackageTests/UniqueIPID/setup.test.hs @@ -1,7 +1,11 @@ import Test.Cabal.Prelude import Data.List -- Test that setup computes different IPIDs when dependencies change -main = setupAndCabalTest $ do +main = do + isWin <- isWindows + ghc94 <- isGhcVersion "== 9.4.*" + expectFailIf (isWin && ghc94) $ do + setupAndCabalTest $ do withPackageDb $ do withDirectory "P1" $ setup "configure" ["--disable-deterministic"] withDirectory "P2" $ setup "configure" ["--disable-deterministic"]