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"
11 expectBrokenIf
(osx
&& ghc
) 8028 $ do
12 setup_build
["--enable-tests", "--enable-executable-dynamic"]