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
/
cabal-fail-no-packagedbs.test.hs
blob
5335d960ab8f6384ee5746eb78c833de2c2c89aa
1
import
Test
.
Cabal
.
Prelude
2
main
=
cabalTest
$
do
3
noCabalPackageDb
.
withPackageDb
$
do
4
withDirectory
"p-no-package-dbs"
$
do
5
res
<-
fails
$
cabal
'
"v2-build"
[]
6
assertOutputContains
"No package databases have been specified."
res