repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(cabal check) Add "Version signatures" test
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
PreProcess
/
Hsc2HsOptions
/
setup.test.hs
blob
50cd5bcb0e26b83167846fba63636eb81fcbd23d
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