-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mention possible need to put library itself in test-suite's build-depends to avoid a bug? #5
Comments
RyanGlScott
added a commit
to ekmett/bits
that referenced
this issue
Feb 4, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
We should. Have to investigate whether this is Cabal/ghc bug of feature (it's not obvious to me how |
phadej
added a commit
to phadej/bound
that referenced
this issue
Feb 6, 2017
compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5 Also lifts directory upper bound
phadej
added a commit
to phadej/ad
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
phadej
added a commit
to phadej/approximate
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
phadej
added a commit
to phadej/ersatz
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
phadej
added a commit
to phadej/folds
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
phadej
added a commit
to phadej/gc
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
phadej
added a commit
to phadej/heaps
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
phadej
added a commit
to phadej/hyperloglog
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
phadej
added a commit
to phadej/hyphenation
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
phadej
added a commit
to phadej/lens-action
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
phadej
added a commit
to phadej/parsers
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
phadej
added a commit
to phadej/structs
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
phadej
added a commit
to phadej/hashable-extras
that referenced
this issue
Feb 6, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
RyanGlScott
pushed a commit
to ekmett/gc
that referenced
this issue
Apr 27, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
RyanGlScott
pushed a commit
to ekmett/folds
that referenced
this issue
Apr 27, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
RyanGlScott
pushed a commit
to ekmett/hyphenation
that referenced
this issue
Apr 27, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
RyanGlScott
pushed a commit
to ekmett/heaps
that referenced
this issue
Apr 27, 2017
This upgrades the `Setup.hs` harness to use `cabal-doctest`, making it compatible with `Cabal-1.25` (shipped with GHC 8.2). See ekmett/lens#709 Make sure to add a dependency on bits in the doctests test-suite to avoid ulidtko/cabal-doctest#5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tripped over this when upgrading
bits
to usecabal-doctest
. If I uses the followingbuild-depends
in the docteststest-suite
:Then
cabal test
fails!That's because
cabal
hadn't compileddebruijn.c
(which definesdebruijn_lsb64
) into an object file! It turns out thatbytes
(another library likebits
which has a C dependency) doesn't suffer from this issue because the docteststest-suite
adds a dependency on thebytes
library. Or, to use the earlier example ofbits
, if you change thebuild-depends
in the docteststest-suite
to this:Then
cabal test
works without issue, because the library dependency forcescabal
to build the library (and thereforedebruijn.c
) beforehand:Perhaps we should mention this gotcha in the
cabal-doctest
README?The text was updated successfully, but these errors were encountered: