Un-ignore .bat files
[cabal.git] / cabal-testsuite / PackageTests / CheckSetup / setup.test.hs
blob96ed43957859ce6a8779434dc89e2baffe57f2e4
1 import Test.Cabal.Prelude
3 -- Test that setup shows all the 'autogen-modules' warnings.
4 main = cabalTest $ do
6 checkResult <- fails $ cabal_raw' ["check"] Nothing
8 -- Package check messages.
9 let libError1 =
10 "The dependency 'setup-depends: 'Cabal' does not specify "
11 ++ "an upper bound on the version number"
12 libError2 =
13 "The dependency 'setup-depends: 'base' does not specify "
14 ++ "an upper bound on the version number"
16 -- Asserts for the desired check messages after configure.
17 assertOutputContains libError1 checkResult
18 assertOutputContains libError2 checkResult
20 return ()