From 413fd3e3221a91985210f2460171c4f57379a8ae Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Thu, 14 Dec 2023 15:14:47 -0500 Subject: [PATCH] Don't do the web tests with ghc-9.6.3 --- cabal-testsuite/PackageTests/VersionPriority/1-web.test.hs | 4 ++++ cabal-testsuite/PackageTests/VersionPriority/2-web.test.hs | 4 ++++ cabal-testsuite/PackageTests/VersionPriority/3-web.test.hs | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/cabal-testsuite/PackageTests/VersionPriority/1-web.test.hs b/cabal-testsuite/PackageTests/VersionPriority/1-web.test.hs index 2d7b01b9a62..aea5fcbbb50 100644 --- a/cabal-testsuite/PackageTests/VersionPriority/1-web.test.hs +++ b/cabal-testsuite/PackageTests/VersionPriority/1-web.test.hs @@ -1,4 +1,8 @@ import Test.Cabal.Prelude main = cabalTest . withRepo "repo" . withProjectFile "1-web.project" $ do + -- To avoid this diff: + -- -Build profile: -w ghc-9.6.3 -O1 + -- +Build profile: -w ghc- -O1 + skipIfGhcVersion "== 9.6.3" cabal "v2-build" ["--dry-run"] diff --git a/cabal-testsuite/PackageTests/VersionPriority/2-web.test.hs b/cabal-testsuite/PackageTests/VersionPriority/2-web.test.hs index f32afd0a827..f0949a2a908 100644 --- a/cabal-testsuite/PackageTests/VersionPriority/2-web.test.hs +++ b/cabal-testsuite/PackageTests/VersionPriority/2-web.test.hs @@ -1,4 +1,8 @@ import Test.Cabal.Prelude main = cabalTest . withRepo "repo" . withProjectFile "2-web.project" $ do + -- To avoid this diff: + -- -Build profile: -w ghc-9.6.3 -O1 + -- +Build profile: -w ghc- -O1 + skipIfGhcVersion "== 9.6.3" cabal "v2-build" ["--dry-run"] \ No newline at end of file diff --git a/cabal-testsuite/PackageTests/VersionPriority/3-web.test.hs b/cabal-testsuite/PackageTests/VersionPriority/3-web.test.hs index 913b9da8411..0c9be105735 100644 --- a/cabal-testsuite/PackageTests/VersionPriority/3-web.test.hs +++ b/cabal-testsuite/PackageTests/VersionPriority/3-web.test.hs @@ -1,4 +1,8 @@ import Test.Cabal.Prelude main = cabalTest . withRepo "repo" . withProjectFile "3-web.project" $ do + -- To avoid this diff: + -- -Build profile: -w ghc-9.6.3 -O1 + -- +Build profile: -w ghc- -O1 + skipIfGhcVersion "== 9.6.3" cabal "v2-build" ["--dry-run"] \ No newline at end of file