Thread
Thread Index
Message
On Mon, Jan 11, 2010 at 01:58:47PM +0100, Patrick Spendrin wrote:
> Dieter Baron schrieb:
> > Patrick Spendrin wrote:
> >
> > You would need to translate that to cmake as well (also the result
> > comparison, which again uses files from the source directory). Maybe
> > it would be easier to translate the runtest script to a batch file?
>
> Hm, not really, because how would you replace unix utils like sort,
> diff, tr, etc. There are some parts that can be easily translated (I am
> currently trying it) but I guess some parts still won't work without
> using either unix utils or cmake.
Good point.
> > You do *not* want to give the file in the
> > source directory as an argument.
>
> Yeah, I already found that myself.
> This shouldn't be a big problem though as copying the files into the
> builddirectory should be doable.
You should create a new directory for each test run, and copy the
files there. Different tests might use (and change!) the same file,
and will fail if not given the original as input.
yours,
dillo
Made by MHonArc.
|