Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / CustomTestCoverage / setup.test.hs
blob7f40ed74bc87297dead14238a28b7e30be7eda39
1 import Test.Cabal.Prelude
2 main = setupTest $ do
3 recordMode DoNotRecord $ do
4 skipUnless "no Cabal for GHC" =<< hasCabalForGhc
5 setup' "configure" ["--enable-tests", "--enable-coverage"] >>= assertOutputContains "ThisIsCustomYeah"
6 setup' "build" []
7 setup' "test" [] >>= assertOutputContains "Package coverage report written to"