Re: [CMake] How to redirect the output of an executable while testing

2009-02-23 Thread Mathieu Malaterre
On Mon, Feb 23, 2009 at 1:46 PM, ankit jain wrote: > Hi all, > > I have an executable having some test cases. I want to give some arguments > to it which i will give it through add_test command. but my objective is to > write the output of the executable to a file at run tiem itself. > > How to d

[CMake] How to redirect the output of an executable while testing

2009-02-23 Thread ankit jain
Hi all, I have an executable having some test cases. I want to give some arguments to it which i will give it through add_test command. but my objective is to write the output of the executable to a file at run tiem itself. How to do that? Secondly i want ot use this file in which output of exe