Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / Backpack / Includes5 / setup.test.hs
blob265bcc1a8022002b917e6a2c20e19dc448e2f826
1 import Test.Cabal.Prelude
2 main = setupAndCabalTest $ do
3 skipUnlessGhcVersion ">= 8.1"
4 setup "configure" []
5 r <- fails $ setup' "build" []
6 assertOutputContains "Foobar" r
7 assertRegex
8 "error should be about not being able to find a module"
9 "Could not (find|load) module"
11 return ()