doctest icon indicating copy to clipboard operation
doctest copied to clipboard

Hardwired path in doctest's own testsuite breaks with v2-cabal

Open andreasabel opened this issue 4 years ago • 1 comments

This non-portable path makes cabal v2-test fail for doctest itself: https://github.com/sol/doctest/blob/f8625073f9c4c1f4fef66c48320293cc0c978d53/test/MainSpec.hs#L110

With v2-cabal and ghc-9.0.1 the path becomes ../../../dist-newstyle/build/x86_64-osx/ghc-9.0.1/doctest-0.19/t/spec/build/spec/spec-tmp/Test/integration/with-cbits/foo.o.

Maybe related: #245

andreasabel avatar Feb 27 '21 13:02 andreasabel

This is still deactivated: https://github.com/sol/doctest/blob/6bb14c4a8b0c632bb92e2c112171b8d04243775d/test/MainSpec.hs#L109-L120

andreasabel avatar Oct 14 '23 19:10 andreasabel