Commit d76af47a authored by Edward Z. Yang's avatar Edward Z. Yang Committed by Edward Z. Yang
Browse files

Custom tests require hasCabalForGhc


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 1fb55ed9
import Test.Cabal.Prelude
main = setupAndCabalTest $ do
skipUnless =<< hasCabalForGhc
-- On Travis OSX, Cabal shipped with GHC 7.8 does not work
-- with error "setup: /usr/bin/ar: permission denied"; see
-- also https://github.com/haskell/cabal/issues/3938
......
import Test.Cabal.Prelude
-- Test internal custom preprocessor
main = setupAndCabalTest $ do
skipUnless =<< hasCabalForGhc
setup_build []
runExe' "hello-world" []
>>= assertOutputContains "hello from A"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment