hackport-0.5.5: cabal/cabal-testsuite/PackageTests/TemplateHaskell/profiling/setup.test.hs
import Test.Cabal.Prelude
-- Test building a profiled library/executable which uses Template Haskell
-- (setup has to build the non-profiled version first)
main = setupAndCabalTest $ do
skipUnless =<< hasProfiledLibraries
setup_build ["--enable-library-profiling",
"--enable-profiling"]