hackport-0.8.0.0: cabal/cabal-testsuite/PackageTests/Backpack/Includes1/setup.test.hs
import Test.Cabal.Prelude
main = setupAndCabalTest $ do
skipUnlessGhcVersion ">= 8.1"
setup "configure" []
r <- fails $ setup' "build" []
assertRegex "error should be in B.hs" "^B.hs:" r
assertRegex "error should be \"Could not find module Data.Set\""
"(Could not (load|find) module|Failed to load interface).*Data.Set" r