(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / ConfigureComponent / SubLib / setup-explicit.test.hs
blob49d59c69df082c2f31db5d0aaa27314cf0540407
1 import Test.Cabal.Prelude
2 -- NB: The --dependency flag is not supported by cabal-install
3 main = setupTest $ do
4 withPackageDb $ do
5 base_id <- getIPID "base"
6 setup_install ["sublib", "--cid", "sublib-0.1-abc"]
7 setup_install [ "exe", "--exact-configuration"
8 , "--dependency", "Lib:sublib=sublib-0.1-abc"
9 , "--dependency", "base=" ++ base_id ]
10 runExe' "exe" [] >>= assertOutputContains "OK"