lib: disable doctest suite again till we can run it with cabal (#1139)

This commit is contained in:
Simon Michael 2019-12-01 09:13:18 -08:00
parent 318ce7eb07
commit 4b66bc2ed9
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ cabal-version: 1.12
-- --
-- see: https://github.com/sol/hpack -- see: https://github.com/sol/hpack
-- --
-- hash: 50ae1fdf62051f33ffe1ef49edc8913a28b524ebdba88d72ef257cc0b25a95c2 -- hash: bea5d2afe4685fa1a78d90fd1ca886288dc956c5a2b708e3354304c74a3bae12
name: hledger-lib name: hledger-lib
version: 1.15.99 version: 1.15.99
@ -198,7 +198,7 @@ test-suite doctest
, transformers >=0.2 , transformers >=0.2
, uglymemo , uglymemo
, utf8-string >=0.3.5 , utf8-string >=0.3.5
buildable: True buildable: False
if (impl(ghc < 8.2)) if (impl(ghc < 8.2))
buildable: False buildable: False
default-language: Haskell2010 default-language: Haskell2010

View File

@ -166,7 +166,7 @@ tests:
# Running this test suite with cabal requires cabal exec: # Running this test suite with cabal requires cabal exec:
# cabal exec -- cabal test hledger-lib:test:doctest # cabal exec -- cabal test hledger-lib:test:doctest
doctest: doctest:
buildable: true buildable: false # doesn't run with cabal test, https://github.com/simonmichael/hledger/issues/1139
source-dirs: test source-dirs: test
main: doctests.hs # can't call it doctest.hs ("File name does not match module name") main: doctests.hs # can't call it doctest.hs ("File name does not match module name")
other-modules: [] # prevent double compilation, https://github.com/sol/hpack/issues/188 other-modules: [] # prevent double compilation, https://github.com/sol/hpack/issues/188