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
Un-ignore .bat files
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
InternalLibraries
/
Library
/
setup.test.hs
blob
daaf862ae221cb44700c949d643c6e4eb4114e82
1
import
Test
.
Cabal
.
Prelude
2
-- Internal library used by public library; it must be installed and
3
-- registered.
4
main
=
setupAndCabalTest
$
5
withPackageDb
$
do
6
withDirectory
"foolib"
$
setup_install
[]
7
withDirectory
"fooexe"
$
do
8
setup_build
[]
9
runExe
'
"fooexe"
[]
10
>>=
assertOutputContains
"25"