(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / ConfigureComponent / SubLib / setup.test.hs
blobbdc6ab2e60273d5f0a32529f8c468cd231cd9793
1 import Test.Cabal.Prelude
2 -- NB: This currently doesn't work with cabal-install, as the depsolver
3 -- doesn't know to compute a dependency for sublib in exe, resulting in
4 -- Setup not being called with enough dependencies. Shout if this is
5 -- a problem for you; the advised workaround is to use Setup directly
6 -- if you need per-component builds.
7 main = setupTest $ do
8 withPackageDb $ do
9 setup_install ["sublib"]
10 setup_install ["exe"]
11 runExe' "exe" [] >>= assertOutputContains "OK"