[commit: packages/pretty] large_docs, moretests: work around bug with `cabal test` (f6b2e75)
git at git.haskell.org
git at git.haskell.org
Fri Jan 23 22:49:46 UTC 2015
Repository : ssh://git@git.haskell.org/pretty
On branches: large_docs,moretests
Link : http://git.haskell.org/packages/pretty.git/commitdiff/f6b2e752ed0b2b093e8354040eee45125b882706
>---------------------------------------------------------------
commit f6b2e752ed0b2b093e8354040eee45125b882706
Author: David Terei <code at davidterei.com>
Date: Thu Dec 25 22:43:16 2014 -0800
work around bug with `cabal test`
>---------------------------------------------------------------
f6b2e752ed0b2b093e8354040eee45125b882706
.travis.yml | 2 +-
README.md | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 9179847..2db9d94 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,7 +32,7 @@ script:
- cabal configure -v2 --enable-tests
- cabal build
- cabal check || [ "$CABALVER" == "1.16" ]
- - cabal test
+ - cabal test --show-details=streaming
- cabal sdist
- export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;
cd dist/;
diff --git a/README.md b/README.md
index ae5c7b8..6b24d8c 100644
--- a/README.md
+++ b/README.md
@@ -33,6 +33,11 @@ We have to install `QuickCheck` manually as otherwise Cabal currently
throws an error due to the cyclic dependency between `pretty` and
`QuickCheck`.
+*If `cabal test` freezes*, then run
+`cabal test --show-details=streaming` instead. This is due to a
+[bug](https://github.com/haskell/cabal/issues/1810) in certain
+versions of Cabal.
+
## Get involved!
We are happy to receive bug reports, fixes, documentation enhancements,
More information about the ghc-commits
mailing list