diff --git a/cabal-testsuite/Test/Cabal/Monad.hs b/cabal-testsuite/Test/Cabal/Monad.hs index 3ff11d269409fa37492f0e4cc4a1d7d27a235a5e..963604b3809ef227062e88003168a44c386c3af0 100644 --- a/cabal-testsuite/Test/Cabal/Monad.hs +++ b/cabal-testsuite/Test/Cabal/Monad.hs @@ -423,8 +423,10 @@ normalizeOutput nenv = -- Apply this before packageIdRegex, otherwise this regex doesn't match. . resub "([a-zA-Z]+(-[a-zA-Z])*)-[0-9]+(\\.[0-9]+)*/installed-[A-Za-z0-9.]+" "\\1-<VERSION>/installed-<HASH>..." - . -- Normalize architecture - resub (posixRegexEscape (display (normalizerPlatform nenv))) "<ARCH>" + -- Normalize architecture + . resub (posixRegexEscape (display (normalizerPlatform nenv))) "<ARCH>" + -- Some GHC versions are chattier than others + . resub "^ignoring \\(possibly broken\\) abi-depends field for packages" "" -- Normalize the current GHC version. Apply this BEFORE packageIdRegex, -- which will pick up the install ghc library (which doesn't have the -- date glob).