packages feed

hackport-0.9.0.0: cabal/cabal-testsuite/PackageTests/PkgConfigParse/setup.test.hs

import Test.Cabal.Prelude

-- Test that invalid unicode in pkg-config output doesn't trip up cabal very much
main = cabalTest $ do
  -- skipped on windows because using a script to dummy up an executable doesn't work the same.
  skipIfWindows
  cdir <- testCurrentDir `fmap` getTestEnv
  res <- cabal' "v2-build" ["--extra-prog-path="++cdir, "-v2"]
  assertOutputContains "Some pkg-config packages have names containing invalid unicode: or" res