On Mon, Jan 2, 2012 at 9:35 AM, Antoine Latter <aslat...@gmail.com> wrote: > Hi Cabal, > > Is their a recommended way of specifying data files to use with a test-suite? > > I want to test being able to parse binary data in a backwards > compatible way, so would like the test data to be in source control. > > My current plan is to assume that the working directory in a test > suite is always going to by the same directory as my .cabal file.
The way data-files currently work in Cabal is a bit unfortunate. It would be better if they were per build target (i.e. library, executable, test-suite) instead of per package. -- Johan _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel