hackport-0.8.0.0: cabal/cabal-testsuite/PackageTests/Backpack/Includes5/setup.test.hs
import Test.Cabal.Prelude
main = setupAndCabalTest $ do
skipUnlessGhcVersion ">= 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 ()