(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / InternalLibraries / Library / setup.test.hs
blobdaaf862ae221cb44700c949d643c6e4eb4114e82
1 import Test.Cabal.Prelude
2 -- Internal library used by public library; it must be installed and
3 -- registered.
4 main = setupAndCabalTest $
5 withPackageDb $ do
6 withDirectory "foolib" $ setup_install []
7 withDirectory "fooexe" $ do
8 setup_build []
9 runExe' "fooexe" []
10 >>= assertOutputContains "25"