|Subject:||Re: my setup|
|Date:||Mon, 8 May 2006 15:13:22 +0200|
On Mon, May 08, 2006 at 10:24:37AM +0200, Rui Machado wrote:
> >In Makefile.am:
> >check_PROGRAMS = prj/testsuite/a/a1 prj/testsuite/a/a2 prj/testsuite/b/b1
> I'm no expert with autotools. So this makes sure that those programs are
> compiled (a1,a2,b1,b2) correct?
> This is better than what I have, but I still have to add them here, run
> configure and make right?
Yes. Although if the directory is already configured, autotools would
re-run whatever necessary automatically.
> I wanted something even more... "smart" :) You just add the test directory
> (like a c in your example) and it automatically gets "detected" by Dejagnu,
> is compiled and run.
> Another thing I would like is to have the testcases compiled when you do
> make check and with the possibility of using different compiler for the
Dejagnu detects subdirectories and runs *.exp in them. You can write
my_spawn so that it finds the test cases, compiles, and executes them; I
am not aware of any procedure that already does that, although I suspect
looking at gcc's or gdb's test suite could help. If you find a way,
please share it, I need it, too :) .
> What is my_spawn? just a procedure of yours using spawn correct?
With kind regards,
DejaGnu mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|