1 import Test
.Cabal
.Prelude
3 -- Test that setup shows all the 'autogen-modules' warnings.
6 checkResult
<- fails
$ cabal_raw
' ["check"] Nothing
8 -- Package check messages.
10 "The dependency 'setup-depends: 'Cabal' does not specify "
11 ++ "an upper bound on the version number"
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