[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: my setup
Re: my setup
Mon, 8 May 2006 10:24:37 +0200
thanks for your reply ;-)
2006/5/5, Baurzhan Ismagulov <address@hidden>:
On Fri, May 05, 2006 at 04:47:20PM +0200, Rui Machado wrote:
> I've managed to setup something around Makefiles, like putting a Makefile in
> every testcase directory. But this makes me to always add the new directory
> to the configure.in file, changing the Makefile.am, etc. well, a lot of work
> that I would like to avoid. I would like something more DejaGnu :) , like
> just add the directory, the C program, the test script and that's it.
I'm not sure I understand exactly what you want. Here is how I do it:
check_PROGRAMS = prj/testsuite/a/a1 prj/testsuite/a/a2 prj/testsuite/b/b1 prj/testsuite/b/b2
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?
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 testcases.
my_spawn a1 a1a a1b a1c
my_spawn a2 a2a a2b a2c
What is my_spawn? just a procedure of yours using spawn correct?
This would save you adding a new directory and its Makefile into
configure.ac and creating Makefile.am in it.
Is this what you want?
Not yet! But it's getting closer :) thanks again.
With kind regards,
DejaGnu mailing list
- my setup, Rui Machado, 2006/05/05
- Re: my setup, Baurzhan Ismagulov, 2006/05/05
- Re: my setup,
Rui Machado <=