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
Create changelogs for 3.14.1.0 (#10591)
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
PackageDB
/
cabal-packagedb.test.hs
blob
64a74facaac9c67c9e4aeabb755b7972ed1f21c7
1
import
Test
.
Cabal
.
Prelude
2
main
=
cabalTest
$
do
3
withPackageDb
$
do
4
withDirectory
"p"
$
5
setup_install
[]
6
7
env
<-
getTestEnv
8
let
pkgDbPath
=
testPackageDbDir env
9
withDirectory
"q"
$
10
cabal
"v2-build"
[
"--package-db="
++
pkgDbPath
]