From 1bcb06ce9b1587f05f864349a43d9d12661931a4 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Fri, 3 Nov 2023 14:48:51 +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..03e725b3a10 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 + ghcRecent <- isGhcVersion ">= 9.4.*" + expectFailIf (isWin && ghcRecent) $ do + setupAndCabalTest $ do withPackageDb $ do withDirectory "P1" $ setup "configure" ["--disable-deterministic"] withDirectory "P2" $ setup "configure" ["--disable-deterministic"]