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
/
PackageDB
/
t9678
/
cabal.test.hs
blob
5cb73595452b9afe376c947395fe4e65baf02287
1
import
Test
.
Cabal
.
Prelude
2
main
=
cabalTest
$
do
3
recordMode DoNotRecord
$
withRepo
"repo"
$
withPackageDb
$
do
4
withDirectory
"p1"
$
5
setup_install
[]
6
7
env
<-
getTestEnv
8
let
pkgDbPath
=
testPackageDbDir env
9
10
withDirectory
"p2"
$
do
11
void
$
cabal
'
"v2-build"
[
"--package-db="
++
pkgDbPath
]