Merge pull request #10642 from alt-romes/wip/romes/cabal-fix-whitespace
[cabal.git] / cabal-testsuite / PackageTests / ConfigureComponent / SubLib / setup-explicit-fail.test.hs
blobccae2152f9a8f3c32e876425fde158a61e75b6f2
2 import Test.Cabal.Prelude
3 -- NB: The --dependency flag is not supported by cabal-install
4 main = setupTest $ do
5 withPackageDb $ do
6 base_id <- getIPID "base"
7 setup_install ["sublib", "--cid", "sublib-0.1-abc"]
8 r <- fails $ setup' "configure"
9 [ "exe", "--exact-configuration"
10 , "--dependency", "base=" ++ base_id ]
11 assertOutputContains "sublib" r