This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: testsuite questions.
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: gdb at sources dot redhat dot com, manjo at austin dot ibm dot com
- Date: Fri, 23 Apr 2004 18:15:33 -0400 (EDT)
- Subject: Re: testsuite questions.
> 1. Is there any enviroment variable that I can set to make the testcase
> use my custom GDB, for instance the one in /usr/local/bin/gdb?
I do this by setting $PATH.
BTW, if you build your software "--prefix=...", you don't even need root
access on the box. No need to touch /usr/local/bin.
> 2. Is there any enviroment variable I can use to control the value of
> these variables?
I do this by setting $PATH. Yup, I have a little shim directory,
with a script in it named "gcc" that just calls the real compiler
that I want with the options I want. Ewww, it's gross! But it
gets my testing done.
If I just want to adjust the version of gcc that I use, I just
make sure that I've configured that version of gcc using a
convenient "--prefix=/.../.../..." option, and that I've actually
installed that version of gcc. There's lots of code in dejagnu
to test built-but-not-installed yet gcc trees, but it doesn't
help me any.
> The intention is to disconnect the testsuite from using the system
> utilities and GDB that gets built, but use the testcase to test a
> different binary of GDB that I have in a separate local/system directory.
$PATH works really well for selecting the gdb to run.
> Any input is greatly appreciated.
You might wanna look at:
ftp://ftp.shout.net/pub/users/mec/migchain/migchain-0.8.tar.gz
ftp://ftp.shout.net/pub/users/mec/migbat/migbat-0.8.tar.gz
http://www.shout.net/~mec/sunday/current/index.html
Michael C