(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / BuildTargetErrors / setup.test.hs
blob507d0d9a4feec966f46e9c9637f07a49225fdd7a
1 import Test.Cabal.Prelude
2 -- Test error message we report when a non-buildable target is
3 -- requested to be built
4 -- TODO: We can give a better error message here, see #3858.
5 -- NB: Do NOT test on cabal-install, as we fail differently
6 -- in that case
7 main = setupTest $ do
8 setup "configure" []
9 assertOutputContains "the component is marked as disabled"
10 =<< fails (setup' "build" ["not-buildable-exe"])