From a90d44ffaa172b4a99f3281fb19c1a7d01f9de9a Mon Sep 17 00:00:00 2001 From: Matthew Pickering <matthewtpickering@gmail.com> Date: Mon, 19 Feb 2024 10:55:52 +0000 Subject: [PATCH] Mark ForeignLibs test as broken with ghc-8.4.4 It fails in the old-ghcs 8.4.4 configuration, and debugging why seems to have very little pay-off for this niche feature in a very old configuration. --- cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs b/cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs index 1dcf918eae..f667c93eb9 100644 --- a/cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs +++ b/cabal-testsuite/PackageTests/ForeignLibs/setup.test.hs @@ -29,7 +29,8 @@ main = setupAndCabalTest . recordMode DoNotRecord $ do skipUnlessGhcVersion ">= 7.8" win <- isWindows ghc94 <- isGhcVersion ">= 9.4.1" - expectBrokenIf (win && ghc94) 8451 $ + ghc844 <- isGhcVersion "== 8.4.4" + expectBrokenIf (ghc844 || (win && ghc94)) 8451 $ withPackageDb $ do setup_install [] setup "copy" [] -- regression test #4156 -- GitLab