[Haskell-cafe] External scripts for use in testing

Peter Simons simons at nospf.cryp.to
Mon Jun 26 07:40:15 UTC 2017


Hi Ivan,

 > Or blindly trust that the test suite is being run from within the
 > source directory and try to guess/determine it's location from that?

yes, that is the way to go. "cabal check" has its current working
directory in the directory that contains your cabal file, so you can
refer to contents of your release tarball by relative path from there.

Best regards,
Peter



More information about the Haskell-Cafe mailing list