Merge pull request #10525 from 9999years/field-stanza-names
[cabal.git] / cabal-testsuite / PackageTests / TestNameCollision / setup.test.hs
blob93e8a820b30ec54a8c0bf39333f6fd29dd2dff05
1 import Test.Cabal.Prelude
2 -- Test that if test suite has a name which conflicts with a package
3 -- which is in the database, we can still use the test case (they
4 -- should NOT shadow).
5 main = setupAndCabalTest $ do
6 skipIfAllCabalVersion "< 2.2"
7 withPackageDb $ do
8 withDirectory "parent" $ setup_install []
9 withDirectory "child" $ do
10 setup_build ["--enable-tests"]
11 setup "test" []