test/Doctests.hs: support new Cabal autogen path in doctests.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 2 Mar 2019 01:44:21 +0000 (20:44 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 2 Mar 2019 01:44:21 +0000 (20:44 -0500)
commit5107e4fd9a830f448059a84cf4d4bd477fdb4f19
tree050619f68fe417bbf73d143482d52f1c8a4206a2
parenteeac9e8ca58f18971590bf3ceda04913ed030949
test/Doctests.hs: support new Cabal autogen path in doctests.

Since the last haeredes release, Cabal has moved its auto-generated
modules from dist/build/autogen to dist/build/$component/autogen,
breaking our doctests which need to load the Paths_haeredes module.
These paths are passed to the doctest runner as a list, so it's easy
to support both: we now just pass both paths.
test/Doctests.hs