(cabal check) Add "Version signatures" test
[cabal.git] / cabal-testsuite / PackageTests / PreProcess / Hsc2HsOptions / setup.test.hs
blob50cd5bcb0e26b83167846fba63636eb81fcbd23d
1 import Test.Cabal.Prelude
2 -- Check that preprocessors (hsc2hs) are run
3 main = setupAndCabalTest $ do
4 setup_build []
5 r <- runExe' "my-executable" []
6 assertOutputContains "hsc2hs value: 42" r
7 assertOutputContains "ghc value: 0" r