(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / Regression / T4270 / setup.test.hs
blobcf3d7afbdfbc171930973c7ce0d23edd9309092d
1 import Test.Cabal.Prelude
2 -- Test if detailed-0.9 builds correctly and runs
3 -- when linked dynamically
4 -- See https://github.com/haskell/cabal/issues/4270
5 main = setupAndCabalTest $ do
6 skipUnless "no shared libs" =<< hasSharedLibraries
7 skipUnless "no shared Cabal" =<< hasCabalShared
8 skipUnless "no Cabal for GHC" =<< hasCabalForGhc
9 ghc <- isGhcVersion "== 8.0.2"
10 osx <- isOSX
11 expectBrokenIf (osx && ghc) 8028 $ do
12 setup_build ["--enable-tests", "--enable-executable-dynamic"]
13 setup "test" []