Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / TemplateHaskell / profiling / setup.test.hs
blob0e508579958002c4c9bb91163ab83846082a5472
1 import Test.Cabal.Prelude
2 -- Test building a profiled library/executable which uses Template Haskell
3 -- (setup has to build the non-profiled version first)
4 main = setupAndCabalTest $ do
5 skipUnless "no profiling libs" =<< hasProfiledLibraries
6 setup_build ["--enable-library-profiling",
7 "--enable-profiling"]