Commit ce1c027b authored by Joachim Breitner's avatar Joachim Breitner

bytes: Disable doctests.

parent ff6fbd31
haskell-bytes (0.15.1-2) unstable; urgency=medium
* Disable doctests.
-- Joachim Breitner <nomeata@debian.org> Wed, 04 May 2016 09:42:23 +0200
haskell-bytes (0.15.1-1) unstable; urgency=medium
* New upstream release
......
--- a/tests/doctests.hsc
+++ b/tests/doctests.hsc
@@ -54,12 +54,12 @@
main :: IO ()
main = withUnicode $ getSources >>= \sources -> doctest $
"-isrc"
- : "-idist/build/autogen"
+ : "-idist-ghc/build/autogen"
: "-optP-include"
- : "-optPdist/build/autogen/cabal_macros.h"
+ : "-optPdist-ghc/build/autogen/cabal_macros.h"
: "-hide-all-packages"
: "-Iincludes"
- : "dist/build/cbits/i2d.o"
+ : "dist-ghc/build/cbits/i2d.o"
: map ("-package="++) (filter (not . ("bytes-" `isPrefixOf`)) deps) ++ sources
getSources :: IO [FilePath]
......@@ -2,5 +2,8 @@
DEB_ENABLE_TESTS = yes
# Fails on armel
DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-doctests
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment