packages feed

hackport-0.6.3: cabal/cabal-testsuite/PackageTests/Backpack/Includes5/setup.test.hs

import Test.Cabal.Prelude
main = setupAndCabalTest $ do
    skipUnless =<< ghcVersionIs (>= mkVersion [8,1])
    setup "configure" []
    r <- fails $ setup' "build" []
    assertOutputContains "Foobar" r
    assertRegex
      "error should be about not being able to find a module"
      "Could not (find|load) module"
      r
    return ()